summaryrefslogtreecommitdiffstats
path: root/module/plugins/Plugin.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-27 01:18:45 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-27 01:18:45 +0100
commit146fe1e309c33ab149bfaf58ad86c0dd4fb9b156 (patch)
tree22bf2ace19d926392dbe7ba48e44c13c63cd368a /module/plugins/Plugin.py
parent[SimpleHoster] Direct download link support (diff)
downloadpyload-146fe1e309c33ab149bfaf58ad86c0dd4fb9b156.tar.xz
Spare code cosmetics
Diffstat (limited to 'module/plugins/Plugin.py')
-rw-r--r--module/plugins/Plugin.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/Plugin.py b/module/plugins/Plugin.py
index 279edff4d..18f51aab7 100644
--- a/module/plugins/Plugin.py
+++ b/module/plugins/Plugin.py
@@ -422,7 +422,7 @@ class Plugin(Base):
self.fail(_("No captcha result obtained in appropiate time by any of the plugins"))
result = task.result
- self.logDebug("Received captcha result: %s" % str(result))
+ self.logDebug("Received captcha result: " + str(result))
if not self.core.debug:
try:
@@ -530,7 +530,7 @@ class Plugin(Base):
chown(location, uid, gid)
except Exception, e:
- self.logWarning(_("Setting User and Group failed: %s") % str(e))
+ self.logWarning(_("Setting User and Group failed: ") + str(e))
# convert back to unicode
location = fs_decode(location)
@@ -564,7 +564,7 @@ class Plugin(Base):
chown(fs_filename, uid, gid)
except Exception, e:
- self.logWarning(_("Setting User and Group failed: %s") % str(e))
+ self.logWarning(_("Setting User and Group failed: ") + str(e))
self.lastDownload = filename
return self.lastDownload