From 136bc30d928158b4be39698b98e388aa57dea173 Mon Sep 17 00:00:00 2001 From: Ruud Date: Thu, 31 May 2012 22:40:17 +0200 Subject: [PATCH] Broken updater --- couchpotato/core/_base/updater/main.py | 2 +- couchpotato/static/scripts/couchpotato.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/couchpotato/core/_base/updater/main.py b/couchpotato/core/_base/updater/main.py index 5d2e7e2e..0b03b4c9 100644 --- a/couchpotato/core/_base/updater/main.py +++ b/couchpotato/core/_base/updater/main.py @@ -78,7 +78,7 @@ class Updater(Plugin): def doUpdateView(self): self.check() - if not self.update_version: + if not self.updater.update_version: log.error('Trying to update when no update is available.') success = False else: diff --git a/couchpotato/static/scripts/couchpotato.js b/couchpotato/static/scripts/couchpotato.js index b983fb5a..9a15bbab 100644 --- a/couchpotato/static/scripts/couchpotato.js +++ b/couchpotato/static/scripts/couchpotato.js @@ -82,7 +82,7 @@ var CouchPotato = new Class({ new Element('a', { 'text': 'Check for updates', 'events': { - 'click': self.checkForUpdate.bind(self) + 'click': self.checkForUpdate.bind(self, null) } }), new Element('a', {