summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/AntiStandby.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-29 12:32:28 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-29 12:32:28 +0200
commit5ced8cccb300b8971cec4326016df79670c4e7ad (patch)
treeb4f4861b04130535f113ebd4da383b0804296c75 /module/plugins/hooks/AntiStandby.py
parentMerge pull request #1593 from TodsDeath/patch-1 (diff)
downloadpyload-5ced8cccb300b8971cec4326016df79670c4e7ad.tar.xz
Fix https://github.com/pyload/pyload/issues/1595
Diffstat (limited to 'module/plugins/hooks/AntiStandby.py')
-rw-r--r--module/plugins/hooks/AntiStandby.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/AntiStandby.py b/module/plugins/hooks/AntiStandby.py
index b0262ed33..5c54b8c96 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.03"
+ __version__ = "0.04"
__status__ = "testing"
__config__ = [("activated", "bool", "Activated" , True ),
@@ -44,7 +44,7 @@ class AntiStandby(Addon):
MIN_INTERVAL = 5
- def setup(self):
+ def init(self):
self.mtime = 0