summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/SimpleHoster.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-11-30 22:24:20 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-11-30 22:24:20 +0100
commit851011df889369cac5e4c91928be7e1a498f9ab8 (patch)
tree7138701c93ef2514c47419342e3428d270091d53 /module/plugins/internal/SimpleHoster.py
parentfixed import in ExternalScripts (diff)
parentTurbobitNet: fixed #421 (diff)
downloadpyload-851011df889369cac5e4c91928be7e1a498f9ab8.tar.xz
Merge branch 'stable' of github.com:pyload/pyload into stable
Diffstat (limited to 'module/plugins/internal/SimpleHoster.py')
-rw-r--r--module/plugins/internal/SimpleHoster.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/plugins/internal/SimpleHoster.py b/module/plugins/internal/SimpleHoster.py
index 856d3fde6..962d7639e 100644
--- a/module/plugins/internal/SimpleHoster.py
+++ b/module/plugins/internal/SimpleHoster.py
@@ -213,7 +213,8 @@ class SimpleHoster(Hoster):
self.handleFree()
def load(self, url, get={}, post={}, ref=True, cookies=True, just_header=False, decode=False):
- if type(url) == unicode: url = url.encode('utf8')
+ if type(url) == unicode:
+ url = url.encode('utf8')
return Hoster.load(self, url=url, get=get, post=post, ref=ref, cookies=cookies,
just_header=just_header, decode=decode)