summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2013-06-11 12:35:33 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2013-06-11 12:35:33 +0200
commita3fe31b7f49fae8820ecc14e1b50121a633a74ba (patch)
tree5406d806619fdcc0b3c305f9e0291a76d8a0b065 /module
parentTurbobitNet: updated FILE_OFFLINE_PATTERN (diff)
downloadpyload-a3fe31b7f49fae8820ecc14e1b50121a633a74ba.tar.xz
RestartFailed: fixed debug messages
Diffstat (limited to 'module')
-rw-r--r--module/plugins/hooks/RestartFailed.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hooks/RestartFailed.py b/module/plugins/hooks/RestartFailed.py
index b8339e9e3..c78ccf96c 100644
--- a/module/plugins/hooks/RestartFailed.py
+++ b/module/plugins/hooks/RestartFailed.py
@@ -4,7 +4,7 @@ from module.plugins.Hook import Hook
class RestartFailed(Hook):
__name__ = "RestartFailed"
- __version__ = "1.51"
+ __version__ = "1.52"
__description__ = "restartedFailed Packages after defined time"
__config__ = [("activated", "bool", "Activated" , "False"),
("interval", "int", "Interval in Minutes", "15") ]
@@ -21,11 +21,11 @@ class RestartFailed(Hook):
self.info["running"] = True
self.logInfo("loaded")
self.interval = self.getConfig("interval") * 60
- self.logDebug("interval is set to %s", self.interval)
+ self.logDebug("interval is set to %s" % self.interval)
def periodical(self):
self.logDebug("periodical called")
if self.getConfig("interval") * 60 != self.interval:
self.interval = self.getConfig("interval") * 60
- self.logDebug("interval is set to %s", self.interval)
+ self.logDebug("interval is set to %s" % self.interval)
self.core.api.restartFailed()