mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
Fix a typo that caused dynamically updated metadata source plugins to stop working. Fixes #1673884 [Amazon Metadata Plugin Not Used When "metadata-sources-cache.json" Exists](https://bugs.launchpad.net/calibre/+bug/1673884)
This commit is contained in:
parent
1216ced919
commit
cd408d9c96
@ -624,7 +624,7 @@ def patch_metadata_plugins(possibly_updated_plugins):
|
||||
pup = possibly_updated_plugins.get(plugin.name)
|
||||
if pup is not None:
|
||||
if pup.version > plugin.version and pup.minimum_calibre_version <= numeric_version:
|
||||
patches[i] = pup
|
||||
patches[i] = pup(None)
|
||||
for i, pup in patches.iteritems():
|
||||
_initialized_plugins[i] = pup
|
||||
# }}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user