summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/UpdateManager.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-12-17 21:53:57 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-12-17 21:53:57 +0100
commit4e918edba6c3808b095eab1bad137a2a8cab970d (patch)
tree718dac3c4f048edff7711088f3ad23c7678a2378 /module/plugins/hooks/UpdateManager.py
parentimprove share online (diff)
downloadpyload-4e918edba6c3808b095eab1bad137a2a8cab970d.tar.xz
updated plugin api and plugin manager
Diffstat (limited to 'module/plugins/hooks/UpdateManager.py')
-rw-r--r--module/plugins/hooks/UpdateManager.py4
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: