Ignore failures to load cached metadata plugins

This commit is contained in:
Kovid Goyal 2021-04-24 12:04:33 +05:30
parent 7f35f289ce
commit 97041abaa4
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -82,7 +82,10 @@ def patch_plugins():
continue continue
if name == 'search_engines': if name == 'search_engines':
patch_search_engines(val) patch_search_engines(val)
p = load_plugin(val) try:
p = load_plugin(val)
except Exception:
p = None
if p is not None: if p is not None:
patches[p.name] = p patches[p.name] = p
patch_metadata_plugins(patches) patch_metadata_plugins(patches)