summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/RapidshareCom.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-10-04 14:48:16 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-10-04 14:48:16 +0200
commitdbc8882221eaca029994ec6c4483ab157cae9c11 (patch)
treebd897a4d5ec075536cfdbeec487b1b6286a438e7 /module/plugins/hoster/RapidshareCom.py
parentclosed #142 (diff)
downloadpyload-dbc8882221eaca029994ec6c4483ab157cae9c11.tar.xz
closed #116
Diffstat (limited to 'module/plugins/hoster/RapidshareCom.py')
-rw-r--r--module/plugins/hoster/RapidshareCom.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/plugins/hoster/RapidshareCom.py b/module/plugins/hoster/RapidshareCom.py
index 8123f5a65..40fe05eeb 100644
--- a/module/plugins/hoster/RapidshareCom.py
+++ b/module/plugins/hoster/RapidshareCom.py
@@ -153,7 +153,8 @@ class RapidshareCom(Hoster):
self.log.debug(_("%(name)s: Use Premium Account (%(left)sGB left)") % { "name" : self.__name__, "left": info["trafficleft"]/1000/1000 })
if self.api_data["size"] / 1024 > info["trafficleft"]:
self.log.info(_("%s: Not enough traffic left" % self.__name__))
- #self.resetAcount() #@TODO implement
+ self.account.empty()
+ self.resetAccount()
else:
url = self.api_data["mirror"]
self.download(url, get={"directstart":1}, cookies=True)