summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-20 01:20:57 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-20 01:20:57 +0200
commit0f0b0ac2274062e65188c3fdad747f7fa95ea709 (patch)
tree1e35aabaeafd5ea77cb7a87ed9f992584687ed39
parentMerge pull request #2065 from runningbits/spelling (diff)
parentFix for https://github.com/pyload/pyload/issues/2025 (diff)
downloadpyload-0f0b0ac2274062e65188c3fdad747f7fa95ea709.tar.xz
Merge pull request #2062 from Gutz-Pilz/patch-6
Fix for https://github.com/pyload/pyload/issues/2025
-rw-r--r--module/plugins/internal/utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/internal/utils.py b/module/plugins/internal/utils.py
index 723690f39..3a3ada07d 100644
--- a/module/plugins/internal/utils.py
+++ b/module/plugins/internal/utils.py
@@ -162,8 +162,8 @@ def encode(value, encoding=None, decoding=None):
if type(value) is unicode:
res = value.encode(encoding or "utf-8")
- elif type(value) is str:
- res = encode(decode(value, decoding), encoding)
+ #elif type(value) is str:
+ #res = encode(decode(value, decoding), encoding)
else:
res = str(value)