diff options
| author | 2014-12-10 19:07:53 +0100 | |
|---|---|---|
| committer | 2014-12-10 19:07:53 +0100 | |
| commit | 2439bc22671dde697817291b721bfddb792a93b4 (patch) | |
| tree | dad4615b7f1d664263af6a85392282329aa0b8e0 /pyload/plugins/addon/RestartSlow.py | |
| parent | Revert plugin directory structure (diff) | |
| download | pyload-2439bc22671dde697817291b721bfddb792a93b4.tar.xz | |
Fix plugins key attributes
Diffstat (limited to 'pyload/plugins/addon/RestartSlow.py')
| -rw-r--r-- | pyload/plugins/addon/RestartSlow.py | 26 | 
1 files changed, 13 insertions, 13 deletions
| diff --git a/pyload/plugins/addon/RestartSlow.py b/pyload/plugins/addon/RestartSlow.py index acf2852cd..2f1657154 100644 --- a/pyload/plugins/addon/RestartSlow.py +++ b/pyload/plugins/addon/RestartSlow.py @@ -6,19 +6,19 @@ from pyload.plugins.Addon import Addon  class RestartSlow(Addon): -    __name__    = "RestartSlow" -    __type__    = "addon" -    __version__ = "0.02" - -    __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")] +    __name    = "RestartSlow" +    __type    = "addon" +    __version = "0.02" + +    __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")]      event_list = ["downloadStarts"] | 
