mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
c40a2b5acb
commit
50486dfd90
@ -255,6 +255,7 @@ def initialize_plugin(plugin, path_to_zip_file):
|
|||||||
try:
|
try:
|
||||||
p = plugin(path_to_zip_file)
|
p = plugin(path_to_zip_file)
|
||||||
p.initialize()
|
p.initialize()
|
||||||
|
return p
|
||||||
except Exception:
|
except Exception:
|
||||||
print 'Failed to initialize plugin:', plugin.name, plugin.version
|
print 'Failed to initialize plugin:', plugin.name, plugin.version
|
||||||
tb = traceback.format_exc()
|
tb = traceback.format_exc()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user