Skip to content

Commit

Permalink
Handle multi-plugin files
Browse files Browse the repository at this point in the history
  • Loading branch information
smotornyuk committed Jul 23, 2019
1 parent b7fc55b commit eb9865f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/plugins/core.py
Expand Up @@ -114,7 +114,7 @@ def plugins_update():
# check and disable any that should not be active.
for env in PluginGlobals.env.values():
for service, id_ in env.singleton_services.items():
if service.__class__ not in _PLUGINS_CLASS:
if service not in _PLUGINS_CLASS:
PluginGlobals.plugin_instances[id_].deactivate()

# Reset CKAN to reflect the currently enabled extensions.
Expand Down

0 comments on commit eb9865f

Please sign in to comment.