Not restarting after update

This commit is contained in:
Ruud committed 2012-07-01 00:48:44 +02:00
1 parent c274867571
commit f15351aa73
2 files changed
+8 -2

No files matched your search

+4 -1
View File
@@ -66,6 +66,10 @@ class Updater(Plugin):
fireEventAsync('app.restart')
return True
return False
def check(self):
if self.isDisabled():
return
@@ -171,7 +175,6 @@ class GitUpdater(BaseUpdater):
self.repo.saveStash()
log.info('Updating to latest version')
info = self.info()
self.repo.pull()
# Delete leftover .pyc files