summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-24 00:16:08 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-24 00:16:08 +0200
commit8f7e3150dcf97c2137514d72af69cc253d8c0aed (patch)
tree22b9d68d17d806d817174a9f09465c94361fc598 /module
parentImprove Captcha (diff)
downloadpyload-8f7e3150dcf97c2137514d72af69cc253d8c0aed.tar.xz
[Plugin] Another fix about page decoding
Diffstat (limited to 'module')
-rw-r--r--module/plugins/internal/Plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/internal/Plugin.py b/module/plugins/internal/Plugin.py
index 030c372aa..35541f903 100644
--- a/module/plugins/internal/Plugin.py
+++ b/module/plugins/internal/Plugin.py
@@ -258,7 +258,7 @@ class Plugin(object):
else:
req = self.pyload.requestFactory.getRequest(self.__name__)
- res = req.load(url, get, post, ref, cookies, just_header, multipart, bool(decode))
+ res = req.load(url, get, post, ref, cookies, just_header, multipart, decode is True)
if decode:
res = html_unescape(res).decode(decode if isinstance(decode, basestring) else 'utf8')