diff options
Diffstat (limited to 'module')
-rw-r--r-- | module/plugins/hooks/UpdateManager.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/UpdateManager.py b/module/plugins/hooks/UpdateManager.py index 5b7bf76b0..9f8ccdb80 100644 --- a/module/plugins/hooks/UpdateManager.py +++ b/module/plugins/hooks/UpdateManager.py @@ -47,7 +47,7 @@ class UpdateManager(Hook): self.cb2 = None self.interval = self.MIN_TIME self.updating = False - self.info = {"pyload": False, "plugins": False} + self.info = {"pyload": False, "version": None, "plugins": False} self.mtimes = {} #: store modification time for each plugin @@ -115,10 +115,10 @@ class UpdateManager(Hook): r = False else: newversion = data[0] - # self.info["pyload"] = newversion self.logInfo(_("*** New pyLoad Version %s available ***") % newversion) self.logInfo(_("*** Get it here: https://github.com/pyload/pyload/releases ***")) r = self.info["pyload"] = True + self.info["version"] = newversion return r def _updatePlugins(self, updates): |