mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
c11e6511a5
commit
2ecb067383
@ -1263,7 +1263,7 @@ class Cover(ImageView): # {{{
|
|||||||
save_image(img, pt.name)
|
save_image(img, pt.name)
|
||||||
run_program(entry, pt.name, self)
|
run_program(entry, pt.name, self)
|
||||||
info_dialog(self, _('Cover opened in {}').format(entry.get('name') or _('external editor')), _(
|
info_dialog(self, _('Cover opened in {}').format(entry.get('name') or _('external editor')), _(
|
||||||
'Close this popup when you are done making changes to the cover'), show=True, show_copy_button=False)
|
'Close this popup when you are done making changes to the cover.'), show=True, show_copy_button=False)
|
||||||
finally:
|
finally:
|
||||||
with open(pt.name, 'rb') as f:
|
with open(pt.name, 'rb') as f:
|
||||||
ncdata = f.read()
|
ncdata = f.read()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user