mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
083212f63f
commit
dea2b28f6c
@ -100,7 +100,7 @@ class GenerateCatalogAction(InterfaceAction):
|
|||||||
except EnvironmentError as err:
|
except EnvironmentError as err:
|
||||||
if getattr(err, 'errno', None) == errno.EACCES: # Permission denied
|
if getattr(err, 'errno', None) == errno.EACCES: # Permission denied
|
||||||
import traceback
|
import traceback
|
||||||
error_dialog(self, _('Permission denied'),
|
error_dialog(self.gui, _('Permission denied'),
|
||||||
_('Could not open %s. Is it being used by another'
|
_('Could not open %s. Is it being used by another'
|
||||||
' program?')%destination, det_msg=traceback.format_exc(),
|
' program?')%destination, det_msg=traceback.format_exc(),
|
||||||
show=True)
|
show=True)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user