diff options
Diffstat (limited to 'pyload/plugin/addon/RestartFailed.py')
-rw-r--r-- | pyload/plugin/addon/RestartFailed.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/pyload/plugin/addon/RestartFailed.py b/pyload/plugin/addon/RestartFailed.py index 2fe5f13bf..5611cc791 100644 --- a/pyload/plugin/addon/RestartFailed.py +++ b/pyload/plugin/addon/RestartFailed.py @@ -4,16 +4,16 @@ from pyload.plugin.Addon import Addon class RestartFailed(Addon): - __name__ = "RestartFailed" - __type__ = "addon" - __version__ = "1.57" + __name = "RestartFailed" + __type = "addon" + __version = "1.57" - __config__ = [("activated", "bool", "Activated" , True), + __config = [("activated", "bool", "Activated" , True), ("interval" , "int" , "Check interval in minutes", 90 )] - __description__ = """Periodically restart all failed downloads in queue""" - __license__ = "GPLv3" - __authors__ = [("Walter Purcaro", "vuolter@gmail.com")] + __description = """Periodically restart all failed downloads in queue""" + __license = "GPLv3" + __authors = [("Walter Purcaro", "vuolter@gmail.com")] # event_list = ["pluginConfigChanged"] @@ -42,4 +42,4 @@ class RestartFailed(Addon): def activate(self): - self.pluginConfigChanged(self.__name__, "interval", self.getConfig("interval")) + self.pluginConfigChanged(self.__name, "interval", self.getConfig("interval")) |