Broken updater

This commit is contained in:
Ruud
2012-05-31 22:40:17 +02:00
parent 5fb0dbf5d9
commit 136bc30d92
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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:
+1 -1
View File
@@ -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', {