diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-12-17 21:53:57 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-12-17 21:53:57 +0100 |
commit | 4e918edba6c3808b095eab1bad137a2a8cab970d (patch) | |
tree | 718dac3c4f048edff7711088f3ad23c7678a2378 /module/plugins/hooks | |
parent | improve share online (diff) | |
download | pyload-4e918edba6c3808b095eab1bad137a2a8cab970d.tar.xz |
updated plugin api and plugin manager
Diffstat (limited to 'module/plugins/hooks')
-rw-r--r-- | module/plugins/hooks/UpdateManager.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/UpdateManager.py b/module/plugins/hooks/UpdateManager.py index 920a88060..8cbc56c42 100644 --- a/module/plugins/hooks/UpdateManager.py +++ b/module/plugins/hooks/UpdateManager.py @@ -129,10 +129,10 @@ class UpdateManager(Hook): else: type = prefix - plugins = getattr(self.core.pluginManager, "%sPlugins" % type) + plugins = self.core.pluginManager.getPlugins(type) if name in plugins: - if float(plugins[name]["v"]) >= float(version): + if float(plugins[name].version) >= float(version): continue if name in IGNORE or (type, name) in IGNORE: |