mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
77ed3d106d
commit
0b2dcf358f
@ -140,9 +140,11 @@ class RegexBuilder(QDialog, Ui_RegexBuilder):
|
|||||||
as_path=True)
|
as_path=True)
|
||||||
except OSError:
|
except OSError:
|
||||||
if iswindows:
|
if iswindows:
|
||||||
|
import traceback
|
||||||
error_dialog(self, _('Could not open file'),
|
error_dialog(self, _('Could not open file'),
|
||||||
_('Could not open the file, do you have it open in'
|
_('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
|
return False
|
||||||
raise
|
raise
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user