diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-07-29 21:06:01 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-07-29 21:06:01 +0200 |
commit | 1142e6c4f2acef87dce9d87d6053f9679636953a (patch) | |
tree | 73e4fe2a4882eac579b59404b966d189a029045b /module/plugins/hooks/AntiStandby.py | |
parent | Fix https://github.com/pyload/pyload/issues/1600 (diff) | |
download | pyload-1142e6c4f2acef87dce9d87d6053f9679636953a.tar.xz |
Fix https://github.com/pyload/pyload/issues/1600 (2)
Diffstat (limited to 'module/plugins/hooks/AntiStandby.py')
-rw-r--r-- | module/plugins/hooks/AntiStandby.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/hooks/AntiStandby.py b/module/plugins/hooks/AntiStandby.py index 3667e378a..93eca09cc 100644 --- a/module/plugins/hooks/AntiStandby.py +++ b/module/plugins/hooks/AntiStandby.py @@ -26,7 +26,7 @@ class Kernel32(object): class AntiStandby(Addon): __name__ = "AntiStandby" __type__ = "hook" - __version__ = "0.05" + __version__ = "0.06" __status__ = "testing" __config__ = [("activated", "bool", "Activated" , True ), @@ -158,9 +158,9 @@ class AntiStandby(Addon): if self.get_config('hdd') is False: return - if (self.pyfile.threadManager.pause or - not self.pyfile.api.isTimeDownload() or - not self.pyfile.threadManager.getActiveFiles()): + if (self.pyload.threadManager.pause or + not self.pyload.api.isTimeDownload() or + not self.pyload.threadManager.getActiveFiles()): return path = self.pyload.config.get("general", "download_folder") |