summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/UploadedTo.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/UploadedTo.py
parentclosed #142 (diff)
downloadpyload-dbc8882221eaca029994ec6c4483ab157cae9c11.tar.xz
closed #116
Diffstat (limited to 'module/plugins/hoster/UploadedTo.py')
-rw-r--r--module/plugins/hoster/UploadedTo.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/module/plugins/hoster/UploadedTo.py b/module/plugins/hoster/UploadedTo.py
index 4cd98fc3e..a798a145f 100644
--- a/module/plugins/hoster/UploadedTo.py
+++ b/module/plugins/hoster/UploadedTo.py
@@ -56,6 +56,7 @@ class UploadedTo(Hoster):
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__))
+ self.account.empty()
self.resetAccount()
self.fail(_("Traffic exceeded"))
else: