diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-07-05 18:02:02 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-07-05 18:02:02 +0200 |
commit | 999a67f7e2a18fd3ef93bd0a5429f5c45ed5fb53 (patch) | |
tree | 003abc84de8d22bbef680e5500470312bc885345 /module/plugins/hooks/UpdateManager.py | |
parent | [ShareLinksBiz] Fix broken pattern due last update (diff) | |
download | pyload-999a67f7e2a18fd3ef93bd0a5429f5c45ed5fb53.tar.xz |
[UpdateManager] Better if-condition check (thx stickell)
Diffstat (limited to 'module/plugins/hooks/UpdateManager.py')
-rw-r--r-- | module/plugins/hooks/UpdateManager.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hooks/UpdateManager.py b/module/plugins/hooks/UpdateManager.py index ce06612bd..c37f026e3 100644 --- a/module/plugins/hooks/UpdateManager.py +++ b/module/plugins/hooks/UpdateManager.py @@ -42,7 +42,7 @@ class UpdateManager(Hook): elif name == "reloadplugins": if self.cb2: self.core.scheduler.removeJob(self.cb2) - if value == True and self.core.debug: + if value is True and self.core.debug: self.periodical2() def coreReady(self): |