diff options
author | 2014-04-18 16:21:42 +0200 | |
---|---|---|
committer | 2014-04-21 17:23:19 +0200 | |
commit | e484775f328c032ae7fb0182772f581271e8cd13 (patch) | |
tree | cc2b44825b53988218cf56c5cf76bece12697ba6 /pyload/plugins/hoster/FileserveCom.py | |
parent | Using in instead of has_key (diff) | |
download | pyload-e484775f328c032ae7fb0182772f581271e8cd13.tar.xz |
Fixed some PEP8 violations
(cherry picked from commit 1db169b2a7f1df66777a1045b17fc948b1b45c42)
Diffstat (limited to 'pyload/plugins/hoster/FileserveCom.py')
-rw-r--r-- | pyload/plugins/hoster/FileserveCom.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/plugins/hoster/FileserveCom.py b/pyload/plugins/hoster/FileserveCom.py index c28bae456..4c678c1b1 100644 --- a/pyload/plugins/hoster/FileserveCom.py +++ b/pyload/plugins/hoster/FileserveCom.py @@ -91,7 +91,7 @@ class FileserveCom(Hoster): if "fail" in action: if action["fail"] == "timeLimit": - self.html = self.load(self.url,post={"checkDownload": "showError", "errorType": "timeLimit"}, + self.html = self.load(self.url, post={"checkDownload": "showError", "errorType": "timeLimit"}, decode=True) self.doLongWait(re.search(self.LONG_WAIT_PATTERN, self.html)) @@ -134,7 +134,7 @@ class FileserveCom(Hoster): self.doLongWait(self.lastCheck) elif check == "limit": #download limited reached for today (not a exact time known) - self.setWait(3 * 60 * 60, True) # wait 3 hours #TO-DO: resolve waittime using UnrestrictLi's secondsToMidnight + self.setWait(3 * 60 * 60, True) # wait 3 hours #TO-DO: resolve waittime using UnrestrictLi's secondsToMidnight self.wait() self.retry() |