summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/Plugin.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/internal/Plugin.py')
-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')