From 5ced8cccb300b8971cec4326016df79670c4e7ad Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Wed, 29 Jul 2015 12:32:28 +0200 Subject: Fix https://github.com/pyload/pyload/issues/1595 --- module/plugins/hooks/AntiStandby.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/plugins/hooks') 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 -- cgit v1.2.3