Merge branch 'maintenance' of github.com:OctoPrint/OctoPrint into maintenance

This commit is contained in:
Gina Häußge committed 2021-11-03 10:16:29 +01:00
commit 4ce0501017
1 file changed
+2 -2
+2 -2
View File
@@ -854,7 +854,7 @@ class PluginManager(object):
key, version = entry
try:
processed_blacklist.append(
(key, pkg_resources.Requirement.parse(version))
(key, pkg_resources.Requirement.parse(key + version))
)
except Exception:
self.logger.warning(
@@ -1340,7 +1340,7 @@ class PluginManager(object):
return entry_key == key and version in entry_version
return False
return any(map(lambda entry: matches_plugin(entry), self.plugin_blacklist))
return any(map(matches_plugin, self.plugin_blacklist))
def reload_plugins(
self, startup=False, initialize_implementations=True, force_reload=None