mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-04 05:44:54 +01:00
...
This commit is contained in:
parent
eac0c5ddb4
commit
7a92aa306d
1 changed files with 2 additions and 1 deletions
|
|
@ -975,7 +975,8 @@ def load_ebook(self, pathtoebook, open_at=None):
|
|||
else:
|
||||
r = getattr(worker.exception, 'reason', worker.exception)
|
||||
error_dialog(self, _('Could not open ebook'),
|
||||
as_unicode(r), det_msg=worker.traceback, show=True)
|
||||
as_unicode(r) or _('Unknown error'),
|
||||
det_msg=worker.traceback, show=True)
|
||||
self.close_progress_indicator()
|
||||
else:
|
||||
self.metadata.show_opf(self.iterator.opf,
|
||||
|
|
|
|||
Loading…
Reference in a new issue