summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/UploadedTo.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/UploadedTo.py')
-rw-r--r--module/plugins/hoster/UploadedTo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/UploadedTo.py b/module/plugins/hoster/UploadedTo.py
index 70d71b493..933feab39 100644
--- a/module/plugins/hoster/UploadedTo.py
+++ b/module/plugins/hoster/UploadedTo.py
@@ -64,7 +64,7 @@ class UploadedTo(Hoster):
# self.pyfile.name = self.get_file_name()
if self.account:
- 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"]/1024/1024})
if self.api_data["size"]/1024 > info["trafficleft"]:
self.log.info(_("%s: Not enough traffic left" % self.__name__))