summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/SimpleHoster.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2013-11-17 19:29:37 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2013-11-23 17:39:12 +0100
commit92888358e14c0a9e50e5604095a1c148ccc8b80d (patch)
tree2c3f5b0c141ac90e34e2c8360886bc14f9715edd /module/plugins/internal/SimpleHoster.py
parentMerge pull request #386 from vuolter/s/setup_clean (diff)
downloadpyload-92888358e14c0a9e50e5604095a1c148ccc8b80d.tar.xz
Internal plugins PEP8 cleanup
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)