summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-12 14:23:21 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-12 14:23:21 +0100
commit812aadc5a528910c2356f1b5106498b388c474ec (patch)
tree558239afb429088cdd4edc71f8bd7b6dbf1d4f90
parent[Captcha9kw] Fix str.strip 2 (diff)
downloadpyload-812aadc5a528910c2356f1b5106498b388c474ec.tar.xz
[PluginManager] Use key 'version' instead 'v'
-rw-r--r--module/plugins/PluginManager.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/PluginManager.py b/module/plugins/PluginManager.py
index 78b5a9337..6511f8ae6 100644
--- a/module/plugins/PluginManager.py
+++ b/module/plugins/PluginManager.py
@@ -117,14 +117,14 @@ class PluginManager:
version = 0
if rootplugins and name in rootplugins:
- if rootplugins[name]['v'] >= version:
+ if rootplugins[name]['version'] >= version:
continue
if name in IGNORE or (folder, name) in IGNORE:
continue
plugins[name] = {}
- plugins[name]['v'] = version
+ plugins[name]['version'] = version
module = f.replace(".pyc", "").replace(".py", "")