mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-24 15:43:17 +02:00
...
This commit is contained in:
parent
77ed3d106d
commit
0b2dcf358f
1 changed files with 3 additions and 1 deletions
|
|
@ -140,9 +140,11 @@ def select_format(self, db, book_id):
|
|||
as_path=True)
|
||||
except OSError:
|
||||
if iswindows:
|
||||
import traceback
|
||||
error_dialog(self, _('Could not open file'),
|
||||
_('Could not open the file, do you have it open in'
|
||||
' another program?'), show=True)
|
||||
' another program?'), show=True,
|
||||
det_msg=traceback.format_exc())
|
||||
return False
|
||||
raise
|
||||
try:
|
||||
|
|
|
|||
Loading…
Reference in a new issue