diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-08-07 22:46:19 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-08-07 22:46:19 +0200 |
commit | 8a8a521b3c4af39ca8d3fb29d1e322cca230b3c2 (patch) | |
tree | 9509772e03ac887ad73392da876f10f405ff0a0e /module/HookManager.py | |
parent | file info prefetching (RapidshareCom UploadedTo), download folder fix, Serien... (diff) | |
download | pyload-8a8a521b3c4af39ca8d3fb29d1e322cca230b3c2.tar.xz |
better link checking
Diffstat (limited to 'module/HookManager.py')
-rw-r--r-- | module/HookManager.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/HookManager.py b/module/HookManager.py index 503b9f77d..7cd903403 100644 --- a/module/HookManager.py +++ b/module/HookManager.py @@ -49,8 +49,8 @@ class HookManager(): try: #hookClass = getattr(plugin, plugin.__name__) - plugin = pluginClass(self.core) - if plugin.getConfig("load"): + if self.core.config.getPlugin(pluginClass.__name__, "load"): + plugin = pluginClass(self.core) plugins.append(plugin) self.log.info(_("%s loaded, activated %s") % (pluginClass.__name__, plugin.isActivated() )) except: |