diff --git a/couchpotato/core/_base/updater/main.py b/couchpotato/core/_base/updater/main.py index 14a0b173..e4e936ce 100644 --- a/couchpotato/core/_base/updater/main.py +++ b/couchpotato/core/_base/updater/main.py @@ -33,7 +33,6 @@ class Updater(Plugin): else: self.updater = SourceUpdater() - addEvent('app.load', self.autoUpdate) addEvent('app.load', self.setCrons) addEvent('updater.info', self.info) @@ -81,8 +80,8 @@ class Updater(Plugin): return False - def check(self): - if self.isDisabled(): + def check(self, force = False): + if not force and self.isDisabled(): return if self.updater.check(): @@ -101,7 +100,7 @@ class Updater(Plugin): def checkView(self): return jsonified({ - 'update_available': self.check(), + 'update_available': self.check(force = True), 'info': self.updater.info() })