summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nitzo <nitzo2001@yahoo.com> 2016-05-23 19:27:18 +0200
committerGravatar Nitzo <nitzo2001@yahoo.com> 2016-05-23 19:27:18 +0200
commitd2498ffa4c58a2180a9d84e644ee9eeaa95fd1ba (patch)
treebd1f32959caac3c3a2658e27e198436e9060346e
parent[New hoster] [DatoidCz] fix #665 (diff)
downloadpyload-d2498ffa4c58a2180a9d84e644ee9eeaa95fd1ba.tar.xz
[UpdateManager] fix #2472
-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 7fadb59b2..857c4355a 100644
--- a/module/plugins/hooks/UpdateManager.py
+++ b/module/plugins/hooks/UpdateManager.py
@@ -15,7 +15,7 @@ from module.plugins.internal.misc import encode, exists, Expose, fsjoin, threade
class UpdateManager(Addon):
__name__ = "UpdateManager"
__type__ = "hook"
- __version__ = "1.11"
+ __version__ = "1.12"
__status__ = "testing"
__config__ = [("activated" , "bool", "Activated" , True ),
@@ -163,7 +163,7 @@ class UpdateManager(Addon):
self.info['pyload'] = False
self.info['last_check'] = time.time()
- if not newversion:
+ if not newversion or not re.search(r'^\d+(?:\.\d+){0,3}[a-z]?$', newversion):
exitcode = 0
elif newversion == "None":