mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-15 17:15:18 +01:00
...
This commit is contained in:
parent
2e5808c9de
commit
b637effcb2
1 changed files with 1 additions and 1 deletions
|
|
@ -1189,7 +1189,7 @@ def dispatch_sync_event(self, dest, delete, specific):
|
|||
return
|
||||
if d.format():
|
||||
fmt = d.format().lower()
|
||||
dest, sub_dest = dest.split(':')
|
||||
dest, sub_dest = dest.partition(':')[0::2]
|
||||
if dest in ('main', 'carda', 'cardb'):
|
||||
if not self.device_connected or not self.device_manager:
|
||||
error_dialog(self, _('No device'),
|
||||
|
|
|
|||
Loading…
Reference in a new issue