diff options
author | Stefano <l.stickell@yahoo.it> | 2013-11-25 12:27:49 +0100 |
---|---|---|
committer | Stefano <l.stickell@yahoo.it> | 2013-12-15 22:13:47 +0100 |
commit | d7254f602f1ba5140603e2651fb9e2950690a7a5 (patch) | |
tree | 8a098bc89b61a1cff351084de913a0e52972610e /pyload/plugins/internal/SimpleHoster.py | |
parent | Merge pull request #412 from vuolter/s/crypter/EasybytezComFolder (diff) | |
download | pyload-d7254f602f1ba5140603e2651fb9e2950690a7a5.tar.xz |
Merge pull request #418 from vuolter/s/internal_PEP8cleanup
Internal plugins code cleanup according to PEP8 guidelines
(cherry picked from commit cfe3b21334f3eef319a667a477634c025e757fbf)
Conflicts:
module/plugins/internal/MultiHoster.py
pyload/plugins/internal/CaptchaService.py
Diffstat (limited to 'pyload/plugins/internal/SimpleHoster.py')
-rw-r--r-- | pyload/plugins/internal/SimpleHoster.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pyload/plugins/internal/SimpleHoster.py b/pyload/plugins/internal/SimpleHoster.py index 856d3fde6..962d7639e 100644 --- a/pyload/plugins/internal/SimpleHoster.py +++ b/pyload/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) |