diff options
author | 2014-12-09 01:13:05 +0100 | |
---|---|---|
committer | 2014-12-09 01:13:05 +0100 | |
commit | e4c9e4ffc9e3f6bd6b16ce83796dc3d275d544f7 (patch) | |
tree | ac66b8d581519a1db402b41567531d8e59be264d /module/plugins/hooks/DownloadScheduler.py | |
parent | [SkipRev] Update (2) (diff) | |
download | pyload-e4c9e4ffc9e3f6bd6b16ce83796dc3d275d544f7.tar.xz |
Don't start unused periodical in some addons
Diffstat (limited to 'module/plugins/hooks/DownloadScheduler.py')
-rw-r--r-- | module/plugins/hooks/DownloadScheduler.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/module/plugins/hooks/DownloadScheduler.py b/module/plugins/hooks/DownloadScheduler.py index 14884426f..4996e212d 100644 --- a/module/plugins/hooks/DownloadScheduler.py +++ b/module/plugins/hooks/DownloadScheduler.py @@ -10,7 +10,7 @@ from module.plugins.Hook import Hook class DownloadScheduler(Hook): __name__ = "DownloadScheduler" __type__ = "hook" - __version__ = "0.21" + __version__ = "0.22" __config__ = [("timetable", "str", "List time periods as hh:mm full or number(kB/s)", "0:00 full, 7:00 250, 10:00 0, 17:00 150"), @@ -22,6 +22,11 @@ class DownloadScheduler(Hook): ("stickell", "l.stickell@yahoo.it")] + #@TODO: Remove in 0.4.10 + def initPeriodical(self): + pass + + def setup(self): self.cb = None # callback to scheduler job; will be by removed hookmanager when hook unloaded |