diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-09-28 14:57:02 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-09-28 14:57:02 +0200 |
commit | 8add4efc7dc3eeaa873030930e5bd31d6bdf8126 (patch) | |
tree | a0b9954ffd279fbee68e7d81e9e63ee616b6a8c0 /module/plugins/Plugin.py | |
parent | [UptoboxCom] MultiDL support (diff) | |
download | pyload-8add4efc7dc3eeaa873030930e5bd31d6bdf8126.tar.xz |
[XFileSharingPro] COOKIES preset to english + improved setup routine
Diffstat (limited to 'module/plugins/Plugin.py')
-rw-r--r-- | module/plugins/Plugin.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/module/plugins/Plugin.py b/module/plugins/Plugin.py index 68b2311b3..bbfd87532 100644 --- a/module/plugins/Plugin.py +++ b/module/plugins/Plugin.py @@ -397,7 +397,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) |