From 84462a9beee71d3a0ed5be1a3cea14979be09c30 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Mon, 3 Nov 2014 12:46:17 +0100 Subject: [PluginManager] Fix parse --- module/plugins/PluginManager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/plugins/PluginManager.py') 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) -- cgit v1.2.3