summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/RapidshareCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2013-10-16 15:27:36 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2013-10-16 15:27:36 +0200
commitec79ab7187eda441f3c3194b836967049ca23cc9 (patch)
tree064d4f6085cd1050181120ffeeff381082ca3c81 /module/plugins/hoster/RapidshareCom.py
parentMerge pull request #328 from vuolter/s/dead_crypters (diff)
downloadpyload-ec79ab7187eda441f3c3194b836967049ca23cc9.tar.xz
Hosters: replaced line continuation with brackets
Diffstat (limited to 'module/plugins/hoster/RapidshareCom.py')
-rw-r--r--module/plugins/hoster/RapidshareCom.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/module/plugins/hoster/RapidshareCom.py b/module/plugins/hoster/RapidshareCom.py
index 9d40b867f..9828bf4ce 100644
--- a/module/plugins/hoster/RapidshareCom.py
+++ b/module/plugins/hoster/RapidshareCom.py
@@ -171,8 +171,7 @@ class RapidshareCom(Hoster):
elif int(self.api_data["status"]) > 50:
self.api_data["status"] = str(int(self.api_data["status"]) - 50)
- self.api_data["mirror"] = \
- "http://rs%(serverid)s%(shorthost)s.rapidshare.com/files/%(fileid)s/%(filename)s" % self.api_data
+ self.api_data["mirror"] = "http://rs%(serverid)s%(shorthost)s.rapidshare.com/files/%(fileid)s/%(filename)s" % self.api_data
def freeWait(self):
"""downloads html with the important information
@@ -195,8 +194,8 @@ class RapidshareCom(Hoster):
self.setWait(60)
self.logInfo(_("Already downloading from this ip address, waiting 60 seconds"))
self.wait()
- elif "Too many users downloading from this server right now" in result or \
- "All free download slots are full" in result:
+ elif ("Too many users downloading from this server right now" in result or
+ "All free download slots are full" in result):
self.setWait(120)
self.logInfo(_("RapidShareCom: No free slots"))
self.wait()