From 477046e0b1bb37e294db6ceab68462c0fc797ea7 Mon Sep 17 00:00:00 2001 From: Gutz-Pilz Date: Mon, 19 Oct 2015 14:15:28 +0200 Subject: 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 --- module/plugins/internal/utils.py | 4 ++-- 1 file 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) -- cgit v1.2.3