diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-20 01:20:57 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-20 01:20:57 +0200 |
commit | 0f0b0ac2274062e65188c3fdad747f7fa95ea709 (patch) | |
tree | 1e35aabaeafd5ea77cb7a87ed9f992584687ed39 /module/plugins/internal | |
parent | Merge pull request #2065 from runningbits/spelling (diff) | |
parent | Fix for https://github.com/pyload/pyload/issues/2025 (diff) | |
download | pyload-0f0b0ac2274062e65188c3fdad747f7fa95ea709.tar.xz |
Merge pull request #2062 from Gutz-Pilz/patch-6
Fix for https://github.com/pyload/pyload/issues/2025
Diffstat (limited to 'module/plugins/internal')
-rw-r--r-- | module/plugins/internal/utils.py | 4 |
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) |