mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
486e882d3d
commit
25aa15d411
@ -48,6 +48,7 @@ def get_resources(zfp, name_or_list_of_names, print_tracebacks_for_missing_resou
|
||||
ans[name] = zf.read(name)
|
||||
except:
|
||||
if print_tracebacks_for_missing_resources:
|
||||
print('Failed to load resource:', repr(name), 'from the plugin zip file:', zfp, file=sys.stderr)
|
||||
import traceback
|
||||
traceback.print_exc()
|
||||
if len(names) == 1:
|
||||
|
Loading…
x
Reference in New Issue
Block a user