mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -04:00
...
This commit is contained in:
parent
39a9c59bae
commit
a1790819d0
@ -934,6 +934,11 @@ class DeviceMixin(object): # {{{
|
|||||||
|
|
||||||
fmt = None
|
fmt = None
|
||||||
if specific:
|
if specific:
|
||||||
|
if (not self.device_connected or not self.device_manager or
|
||||||
|
self.device_manager.device is None):
|
||||||
|
error_dialog(self, _('No device'),
|
||||||
|
_('No device connected'), show=True)
|
||||||
|
return
|
||||||
formats = []
|
formats = []
|
||||||
aval_out_formats = available_output_formats()
|
aval_out_formats = available_output_formats()
|
||||||
format_count = {}
|
format_count = {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user