summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-05 03:05:35 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-05 03:05:35 +0200
commit43427b11a5cc8c88d2a37ce4d417b0a726c8d794 (patch)
treeb97248b9cbeb905312076d147d2e12179e3d8de6 /module/plugins/accounts
parentMerge pull request #1451 from GammaC0de/patch-2 (diff)
downloadpyload-43427b11a5cc8c88d2a37ce4d417b0a726c8d794.tar.xz
[NitroflareCom] Account fixup (2)
Diffstat (limited to 'module/plugins/accounts')
-rw-r--r--module/plugins/accounts/NitroflareCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/accounts/NitroflareCom.py b/module/plugins/accounts/NitroflareCom.py
index d9b434504..57f2b9ae8 100644
--- a/module/plugins/accounts/NitroflareCom.py
+++ b/module/plugins/accounts/NitroflareCom.py
@@ -9,7 +9,7 @@ from module.plugins.Account import Account
class NitroflareCom(Account):
__name__ = "NitroflareCom"
__type__ = "account"
- __version__ = "0.03"
+ __version__ = "0.04"
__description__ = """Nitroflare.com account plugin"""
__license__ = "GPLv3"
@@ -55,7 +55,7 @@ class NitroflareCom(Account):
m = re.search(self.TRAFFIC_LEFT_PATTERN, html)
if m:
try:
- trafficleft = self.parseTraffic(str(max(0, 50 - int(m.group(1)))) + " GB")
+ trafficleft = self.parseTraffic(str(max(0, 50 - float(m.group(1)))) + " GB")
except Exception, e:
self.logError(e)