summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Gutz-Pilz <hannes.mueller87@gmail.com> 2015-10-19 14:15:28 +0200
committerGravatar Gutz-Pilz <hannes.mueller87@gmail.com> 2015-10-19 14:15:28 +0200
commit477046e0b1bb37e294db6ceab68462c0fc797ea7 (patch)
tree933cb5f31f3ce349d5564253e74812dd4ade6233
parentSpare fixes (diff)
downloadpyload-477046e0b1bb37e294db6ceab68462c0fc797ea7.tar.xz
Fix for https://github.com/pyload/pyload/issues/2025
This fixes my problem mit filecrypt.cc crypter dont know if it would fix any other hoster or crypter issues
-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)