summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/SimpleHoster.py
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2013-11-25 12:27:49 +0100
committerGravatar Stefano <l.stickell@yahoo.it> 2013-11-25 12:27:49 +0100
commitcfe3b21334f3eef319a667a477634c025e757fbf (patch)
treeba4a762a6b9873b51a83ab0cab0a98fe715e7466 /module/plugins/internal/SimpleHoster.py
parentMerge pull request #412 from vuolter/s/crypter/EasybytezComFolder (diff)
parentInternal plugins PEP8 cleanup (diff)
downloadpyload-cfe3b21334f3eef319a667a477634c025e757fbf.tar.xz
Merge pull request #418 from vuolter/s/internal_PEP8cleanup
Internal plugins code cleanup according to PEP8 guidelines
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)