diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-11-16 16:24:18 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-11-16 16:24:18 +0100 |
commit | 295103a1bed51b1907f1c3d96283a03dd63e2499 (patch) | |
tree | 1bfad01bd6c03b41563b0ce7932bc4fa89414a57 /pyload/plugins/addon/UpdateManager.py | |
parent | Fix typo when generating pyload __version__ (diff) | |
download | pyload-295103a1bed51b1907f1c3d96283a03dd63e2499.tar.xz |
[UpdateManager] Fix Key Error :'v' (thx pacovi)
Diffstat (limited to 'pyload/plugins/addon/UpdateManager.py')
-rw-r--r-- | pyload/plugins/addon/UpdateManager.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/plugins/addon/UpdateManager.py b/pyload/plugins/addon/UpdateManager.py index 4a7fa736a..7b2ab1524 100644 --- a/pyload/plugins/addon/UpdateManager.py +++ b/pyload/plugins/addon/UpdateManager.py @@ -14,7 +14,7 @@ from pyload.utils import safe_join class UpdateManager(Addon): __name__ = "UpdateManager" __type__ = "addon" - __version__ = "0.39" + __version__ = "0.40" __config__ = [("activated", "bool", "Activated", True), ("mode", "pyLoad + plugins;plugins only", "Check updates for", "pyLoad + plugins"), @@ -197,7 +197,7 @@ class UpdateManager(Addon): plugins = getattr(self.core.pluginManager, "%sPlugins" % type) - oldver = float(plugins[name]['v']) if name in plugins else None + oldver = float(plugins[name]['version']) if name in plugins else None newver = float(version) if not oldver: |