summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/Plugin.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugins/Plugin.py')
-rw-r--r--pyload/plugins/Plugin.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pyload/plugins/Plugin.py b/pyload/plugins/Plugin.py
index 31cbfca57..6bb325760 100644
--- a/pyload/plugins/Plugin.py
+++ b/pyload/plugins/Plugin.py
@@ -422,7 +422,8 @@ class Plugin(Base):
"""
if self.pyfile.abort: raise Abort
#utf8 vs decode -> please use decode attribute in all future plugins
- if type(url) == unicode: url = str(url)
+ if type(url) == unicode:
+ url = str(url) # encode('utf8')
res = self.req.load(url, get, post, ref, cookies, just_header, decode=decode)