summaryrefslogtreecommitdiffstats
path: root/module/plugins/PluginManager.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/PluginManager.py')
-rw-r--r--module/plugins/PluginManager.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/module/plugins/PluginManager.py b/module/plugins/PluginManager.py
index 94c20cd5a..56b18b749 100644
--- a/module/plugins/PluginManager.py
+++ b/module/plugins/PluginManager.py
@@ -233,6 +233,10 @@ class PluginManager():
if name in self.hosterPlugins:
plugin = self.hosterPlugins[name]
+ if not plugin:
+ self.log.warning("Plugin %s not found." % name)
+ plugin = self.hosterPlugins["BasePlugin"]
+
if "new_module" in plugin and not original:
return plugin["new_module"]