diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-11-12 14:23:21 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-11-12 14:23:21 +0100 |
commit | 812aadc5a528910c2356f1b5106498b388c474ec (patch) | |
tree | 558239afb429088cdd4edc71f8bd7b6dbf1d4f90 | |
parent | [Captcha9kw] Fix str.strip 2 (diff) | |
download | pyload-812aadc5a528910c2356f1b5106498b388c474ec.tar.xz |
[PluginManager] Use key 'version' instead 'v'
-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 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", "") |