summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/addon/RestartFailed.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-20 02:34:31 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-20 02:34:31 +0100
commit6d4fbe6b3e18f75110e0420215ba5df3e0d9d7b3 (patch)
treed9b209d2627bdb3aa58094c814c235cc1b764f3e /pyload/plugins/addon/RestartFailed.py
parentImport threading instead thread + thread cleanup (diff)
downloadpyload-6d4fbe6b3e18f75110e0420215ba5df3e0d9d7b3.tar.xz
__config__ cleanup for addons
Diffstat (limited to 'pyload/plugins/addon/RestartFailed.py')
-rw-r--r--pyload/plugins/addon/RestartFailed.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pyload/plugins/addon/RestartFailed.py b/pyload/plugins/addon/RestartFailed.py
index 7405e2f75..861223f3d 100644
--- a/pyload/plugins/addon/RestartFailed.py
+++ b/pyload/plugins/addon/RestartFailed.py
@@ -8,7 +8,8 @@ class RestartFailed(Addon):
__type__ = "addon"
__version__ = "1.57"
- __config__ = [("interval", "int", "Check interval in minutes", 90)]
+ __config__ = [("activated", "bool", "Activated" , True),
+ ("interval" , "int" , "Check interval in minutes", 90 )]
__description__ = """Periodically restart all failed downloads in queue"""
__license__ = "GPLv3"