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
|
return
|
||||||
if d.format():
|
if d.format():
|
||||||
fmt = d.format().lower()
|
fmt = d.format().lower()
|
||||||
dest, sub_dest = dest.split(':')
|
dest, sub_dest = dest.partition(':')[0::2]
|
||||||
if dest in ('main', 'carda', 'cardb'):
|
if dest in ('main', 'carda', 'cardb'):
|
||||||
if not self.device_connected or not self.device_manager:
|
if not self.device_connected or not self.device_manager:
|
||||||
error_dialog(self, _('No device'),
|
error_dialog(self, _('No device'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user