Broken updater
This commit is contained in:
@@ -78,7 +78,7 @@ class Updater(Plugin):
|
|||||||
def doUpdateView(self):
|
def doUpdateView(self):
|
||||||
|
|
||||||
self.check()
|
self.check()
|
||||||
if not self.update_version:
|
if not self.updater.update_version:
|
||||||
log.error('Trying to update when no update is available.')
|
log.error('Trying to update when no update is available.')
|
||||||
success = False
|
success = False
|
||||||
else:
|
else:
|
||||||
|
|||||||
@@ -82,7 +82,7 @@ var CouchPotato = new Class({
|
|||||||
new Element('a', {
|
new Element('a', {
|
||||||
'text': 'Check for updates',
|
'text': 'Check for updates',
|
||||||
'events': {
|
'events': {
|
||||||
'click': self.checkForUpdate.bind(self)
|
'click': self.checkForUpdate.bind(self, null)
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
new Element('a', {
|
new Element('a', {
|
||||||
|
|||||||
Reference in New Issue
Block a user