diff options
Diffstat (limited to 'module/plugins')
-rw-r--r-- | module/plugins/PluginManager.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/PluginManager.py b/module/plugins/PluginManager.py index 9a9ebad1d..ae8333c0e 100644 --- a/module/plugins/PluginManager.py +++ b/module/plugins/PluginManager.py @@ -61,7 +61,7 @@ class PluginManager: self.log.debug("created index of plugins") - def parse(self, folder, pattern=False, home={}): + def parse(self, folder, pattern=False, home=None): """ returns dict with information home contains parsed plugins from module. @@ -173,7 +173,7 @@ class PluginManager: except: self.log.error("Invalid config in %s: %s" % (name, config)) - if not home: + if home is None: temp = self.parse(folder, pattern, plugins) plugins.update(temp) |