diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-11-03 12:46:17 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-11-03 12:46:17 +0100 |
commit | 84462a9beee71d3a0ed5be1a3cea14979be09c30 (patch) | |
tree | 3da3ce76e004e3eb69dbf66c980ebac5136c65d4 | |
parent | Update crypters (diff) | |
download | pyload-84462a9beee71d3a0ed5be1a3cea14979be09c30.tar.xz |
[PluginManager] Fix parse
-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) |