From d2498ffa4c58a2180a9d84e644ee9eeaa95fd1ba Mon Sep 17 00:00:00 2001 From: Nitzo Date: Mon, 23 May 2016 20:27:18 +0300 Subject: [UpdateManager] fix #2472 --- module/plugins/hooks/UpdateManager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module') 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": -- cgit v1.2.3