diff options
Diffstat (limited to 'module/plugins/hooks/DownloadScheduler.py')
-rw-r--r-- | module/plugins/hooks/DownloadScheduler.py | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/module/plugins/hooks/DownloadScheduler.py b/module/plugins/hooks/DownloadScheduler.py index e1114d615..bd67dec67 100644 --- a/module/plugins/hooks/DownloadScheduler.py +++ b/module/plugins/hooks/DownloadScheduler.py @@ -3,10 +3,10 @@ import re import time -from module.plugins.internal.Hook import Hook +from module.plugins.internal.Addon import Addon -class DownloadScheduler(Hook): +class DownloadScheduler(Addon): __name__ = "DownloadScheduler" __type__ = "hook" __version__ = "0.24" @@ -20,14 +20,6 @@ class DownloadScheduler(Hook): ("stickell", "l.stickell@yahoo.it")] - interval = 0 #@TODO: Remove in 0.4.10 - - - def setup(self): - self.info = {} #@TODO: Remove in 0.4.10 - self.cb = None #: Callback to scheduler job; will be by removed hookmanager when hook unloaded - - def activate(self): self.update_schedule() |