summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hoster/FreakshareCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/hoster/FreakshareCom.py')
-rw-r--r--pyload/plugin/hoster/FreakshareCom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/plugin/hoster/FreakshareCom.py b/pyload/plugin/hoster/FreakshareCom.py
index c5315cdc8..64d8f8308 100644
--- a/pyload/plugin/hoster/FreakshareCom.py
+++ b/pyload/plugin/hoster/FreakshareCom.py
@@ -130,7 +130,7 @@ class FreakshareCom(Hoster):
if m:
units = float(m.group(1).replace(",", ""))
pow = {'KB': 1, 'MB': 2, 'GB': 3}[m.group(2)]
- size = int(units * 1024 ** pow)
+ size = int(units * (2 ** 20) ** pow)
return size