Only run updater if enabled.

fix #1756
This commit is contained in:
Ruud
2013-05-18 20:30:48 +02:00
parent 4a616a0c04
commit e7b4de56f2
+1 -1
View File
@@ -62,7 +62,7 @@ class Updater(Plugin):
self.autoUpdate() # Check after enabling
def autoUpdate(self):
if self.check() and self.conf('automatic') and not self.updater.update_failed:
if self.isEnabled() and self.check() and self.conf('automatic') and not self.updater.update_failed:
if self.updater.doUpdate():
# Notify before restarting