diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-03-26 12:44:15 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-03-26 12:44:15 +0100 |
commit | ce103ce1e60661f7bcdf6a033335134de61d48b1 (patch) | |
tree | 29b9421062cc8341dc10b6ca65e9a64802c3db71 /pyload/plugin/addon/RestartSlow.py | |
parent | .min.css -> .css (diff) | |
download | pyload-ce103ce1e60661f7bcdf6a033335134de61d48b1.tar.xz |
Prepare to merging
Diffstat (limited to 'pyload/plugin/addon/RestartSlow.py')
-rw-r--r-- | pyload/plugin/addon/RestartSlow.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/pyload/plugin/addon/RestartSlow.py b/pyload/plugin/addon/RestartSlow.py index 796aed257..332047da7 100644 --- a/pyload/plugin/addon/RestartSlow.py +++ b/pyload/plugin/addon/RestartSlow.py @@ -6,19 +6,19 @@ from pyload.plugin.Addon import Addon class RestartSlow(Addon): - __name = "RestartSlow" - __type = "addon" - __version = "0.04" + __name__ = "RestartSlow" + __type__ = "addon" + __version__ = "0.04" - __config = [("free_limit" , "int" , "Transfer speed threshold in kilobytes" , 100 ), + __config__ = [("free_limit" , "int" , "Transfer speed threshold in kilobytes" , 100 ), ("free_time" , "int" , "Sample interval in minutes" , 5 ), ("premium_limit", "int" , "Transfer speed threshold for premium download in kilobytes", 300 ), ("premium_time" , "int" , "Sample interval for premium download in minutes" , 2 ), ("safe_mode" , "bool", "Don't restart if download is not resumable" , True)] - __description = """Restart slow downloads""" - __license = "GPLv3" - __authors = [("Walter Purcaro", "vuolter@gmail.com")] + __description__ = """Restart slow downloads""" + __license__ = "GPLv3" + __authors__ = [("Walter Purcaro", "vuolter@gmail.com")] event_map = {'download-start': "downloadStarts"} |