mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
2e5808c9de
commit
b637effcb2
@ -1189,7 +1189,7 @@ class DeviceMixin(object): # {{{
|
||||
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…
x
Reference in New Issue
Block a user