summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/RapidshareCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/RapidshareCom.py')
-rw-r--r--module/plugins/hoster/RapidshareCom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/RapidshareCom.py b/module/plugins/hoster/RapidshareCom.py
index f7ee287bc..8123f5a65 100644
--- a/module/plugins/hoster/RapidshareCom.py
+++ b/module/plugins/hoster/RapidshareCom.py
@@ -149,7 +149,7 @@ class RapidshareCom(Hoster):
def handlePremium(self):
- info = self.account.getAccountInfo(self.account.getAccountData(self)[0])
+ info = self.account.getAccountInfo(self.user, True)
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__))