Commit 8409f5e7 authored by Philipp Hörist's avatar Philipp Hörist

Plugins: Fix registering modules on enabling account

parent 48cf6366
Pipeline #4352 passed with stages
in 3 minutes and 7 seconds
......@@ -553,10 +553,10 @@ class PluginManager(metaclass=Singleton):
'''
for plugin in self.plugins:
if not plugin.active:
return
continue
if not hasattr(plugin, 'modules'):
return
continue
for module in plugin.modules:
instance, name = module.get_instance(con)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment