summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/account/UploadedTo.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/account/UploadedTo.py')
-rw-r--r--pyload/plugin/account/UploadedTo.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/pyload/plugin/account/UploadedTo.py b/pyload/plugin/account/UploadedTo.py
index 13b0f3112..61765faf8 100644
--- a/pyload/plugin/account/UploadedTo.py
+++ b/pyload/plugin/account/UploadedTo.py
@@ -49,11 +49,7 @@ class UploadedTo(Account):
size = traffic['S'].replace('.', '')
unit = traffic['U'].lower()
- if unit.startswith('t'): #@NOTE: Remove in 0.4.10
- trafficleft = float(size.replace(',', '.')) / 1024
- trafficleft *= 1 << 40
- else:
- trafficleft = self.parseTraffic(size + unit)
+ trafficleft = self.parseTraffic(size + unit)
return {'validuntil' : validuntil,
'trafficleft': trafficleft,