diff options
Diffstat (limited to 'pyload')
-rw-r--r-- | pyload/plugins/addons/ExternalScripts.py | 2 | ||||
-rw-r--r-- | pyload/plugins/addons/RestartFailed.py | 2 | ||||
-rw-r--r-- | pyload/plugins/addons/WindowsPhoneToastNotify.py | 4 |
3 files changed, 5 insertions, 3 deletions
diff --git a/pyload/plugins/addons/ExternalScripts.py b/pyload/plugins/addons/ExternalScripts.py index 46c2e5e70..de9572c26 100644 --- a/pyload/plugins/addons/ExternalScripts.py +++ b/pyload/plugins/addons/ExternalScripts.py @@ -51,7 +51,7 @@ class ExternalScripts(Addon): for script_type, names in self.scripts.iteritems(): if names: - self.logInfo((_("Installed scripts for %s: ") % script_type ) + ", ".join([basename(x) for x in names])) + self.logInfo((_("Installed scripts for %s: ") % script_type) + ", ".join([basename(x) for x in names])) def initPluginType(self, folder, path): if not exists(path): diff --git a/pyload/plugins/addons/RestartFailed.py b/pyload/plugins/addons/RestartFailed.py index d3895634b..85553d738 100644 --- a/pyload/plugins/addons/RestartFailed.py +++ b/pyload/plugins/addons/RestartFailed.py @@ -31,7 +31,7 @@ class RestartFailed(Hook): event_list = ["pluginConfigChanged"] - MIN_INTERVAL = 15 * 60 #seconds + MIN_INTERVAL = 15 * 60 # seconds def periodical(self): self.logDebug("Restart all failed downloads now") diff --git a/pyload/plugins/addons/WindowsPhoneToastNotify.py b/pyload/plugins/addons/WindowsPhoneToastNotify.py index 538ded715..7c005fcbb 100644 --- a/pyload/plugins/addons/WindowsPhoneToastNotify.py +++ b/pyload/plugins/addons/WindowsPhoneToastNotify.py @@ -16,9 +16,11 @@ @author: RaNaN, Godofdream, zoidberg """ -import time, httplib +import time +import httplib from module.plugins.Hook import Hook + class WindowsPhoneToastNotify(Hook): __name__ = "WindowsPhoneToastNotify" __version__ = "0.02" |