summaryrefslogtreecommitdiffstats
path: root/pyload/plugins
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-20 02:21:42 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-20 02:21:42 +0100
commit9f51c5d19860930b7f65e707f632d01dcd097c8b (patch)
tree6d16c022413f8f6778c92950cdfb36ae70c31894 /pyload/plugins
parentUse utils encode/decode (diff)
downloadpyload-9f51c5d19860930b7f65e707f632d01dcd097c8b.tar.xz
[UpdateManager] Code cosmetics
Diffstat (limited to 'pyload/plugins')
-rw-r--r--pyload/plugins/internal/UpdateManager.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/pyload/plugins/internal/UpdateManager.py b/pyload/plugins/internal/UpdateManager.py
index 7b2ab1524..626e62f4e 100644
--- a/pyload/plugins/internal/UpdateManager.py
+++ b/pyload/plugins/internal/UpdateManager.py
@@ -106,8 +106,10 @@ class UpdateManager(Addon):
def periodical(self):
- if not self.info['pyload'] and not (self.getConfig("nodebugupdate") and self.core.debug):
- self.updateThread()
+ if self.info['pyload'] or self.getConfig("nodebugupdate") and self.core.debug:
+ return
+
+ self.updateThread()
def server_request(self):