diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-11-30 22:24:20 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-11-30 22:24:20 +0100 |
commit | 851011df889369cac5e4c91928be7e1a498f9ab8 (patch) | |
tree | 7138701c93ef2514c47419342e3428d270091d53 /module/plugins/internal/SimpleHoster.py | |
parent | fixed import in ExternalScripts (diff) | |
parent | TurbobitNet: fixed #421 (diff) | |
download | pyload-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.py | 3 |
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) |