diff options
author | Stefano <l.stickell@yahoo.it> | 2014-04-18 17:07:06 +0200 |
---|---|---|
committer | Stefano <l.stickell@yahoo.it> | 2014-04-21 17:23:26 +0200 |
commit | 32f88e7e9f090f4e6aa7f6c9b568121a4a02985d (patch) | |
tree | a4e71625f4f0ea7456a59644c83a072d852bd381 | |
parent | Bayfiles: relogin requires user argument (diff) | |
download | pyload-32f88e7e9f090f4e6aa7f6c9b568121a4a02985d.tar.xz |
Fixed PEP8 violations
(cherry picked from commit 71d58aa484ab332cad1eda29edf2df7bfc4e2e91)
-rw-r--r-- | module/plugins/hooks/FreeWayMe.py | 1 | ||||
-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 |
4 files changed, 6 insertions, 3 deletions
diff --git a/module/plugins/hooks/FreeWayMe.py b/module/plugins/hooks/FreeWayMe.py index 63231a893..7d4bcc852 100644 --- a/module/plugins/hooks/FreeWayMe.py +++ b/module/plugins/hooks/FreeWayMe.py @@ -20,6 +20,7 @@ from module.network.RequestFactory import getURL from module.plugins.internal.MultiHoster import MultiHoster + class FreeWayMe(MultiHoster): __name__ = "FreeWayMe" __version__ = "0.11" 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" |