mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-25 07:55:36 +01:00
Ignore failures to load cached metadata plugins
This commit is contained in:
parent
7f35f289ce
commit
97041abaa4
1 changed files with 4 additions and 1 deletions
|
|
@ -82,7 +82,10 @@ def patch_plugins():
|
|||
continue
|
||||
if name == 'search_engines':
|
||||
patch_search_engines(val)
|
||||
p = load_plugin(val)
|
||||
try:
|
||||
p = load_plugin(val)
|
||||
except Exception:
|
||||
p = None
|
||||
if p is not None:
|
||||
patches[p.name] = p
|
||||
patch_metadata_plugins(patches)
|
||||
|
|
|
|||
Loading…
Reference in a new issue