Browse Source

Broken updater

pull/460/merge
Ruud 13 years ago
parent
commit
136bc30d92
  1. 2
      couchpotato/core/_base/updater/main.py
  2. 2
      couchpotato/static/scripts/couchpotato.js

2
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:

2
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', {

Loading…
Cancel
Save