diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-10-07 18:57:59 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-10-07 18:57:59 +0200 |
commit | b0868ae6446078bacf1635dde5e4ab316b4a94cb (patch) | |
tree | 1f5eb9bf4dfd413b954b2ea87749cd10da19de0e /module/plugins/hooks/RestartFailed.py | |
parent | [SimpleCrypter][SimpleHoster] Better exception handling (diff) | |
download | pyload-b0868ae6446078bacf1635dde5e4ab316b4a94cb.tar.xz |
New __authors__ key replaces __author_name__ and __author_mail__ + Whitespaces and EOF fixup
Diffstat (limited to 'module/plugins/hooks/RestartFailed.py')
-rw-r--r-- | module/plugins/hooks/RestartFailed.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hooks/RestartFailed.py b/module/plugins/hooks/RestartFailed.py index 30c808b4d..8e01ee0f1 100644 --- a/module/plugins/hooks/RestartFailed.py +++ b/module/plugins/hooks/RestartFailed.py @@ -12,13 +12,13 @@ class RestartFailed(Hook): ("interval", "int", "Check interval in minutes", 90)] __description__ = """Periodically restart all failed downloads in queue""" - __author_name__ = "Walter Purcaro" - __author_mail__ = "vuolter@gmail.com" + __authors__ = [("Walter Purcaro", "vuolter@gmail.com")] - MIN_INTERVAL = 15 * 60 #: 15m minimum check interval (value is in seconds) event_list = ["pluginConfigChanged"] + MIN_INTERVAL = 15 * 60 #: 15m minimum check interval (value is in seconds) + def pluginConfigChanged(self, plugin, name, value): if name == "interval": |