summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nitzo <nitzo2001@yahoo.com> 2016-04-13 00:51:27 +0200
committerGravatar Nitzo <nitzo2001@yahoo.com> 2016-04-13 00:51:27 +0200
commit8b3fbd8ee5208cdce6d9ec3735525a675a121351 (patch)
treefe9b2038835862ba9b3e271c9b96d64eb5241a2a
parent[Account] Update (diff)
downloadpyload-8b3fbd8ee5208cdce6d9ec3735525a675a121351.tar.xz
[NitroflareCom] Update
-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 eb3cc4528..7ffcd172d 100644
--- a/module/plugins/accounts/NitroflareCom.py
+++ b/module/plugins/accounts/NitroflareCom.py
@@ -11,7 +11,7 @@ from module.plugins.captcha.ReCaptcha import ReCaptcha
class NitroflareCom(Account):
__name__ = "NitroflareCom"
__type__ = "account"
- __version__ = "0.14"
+ __version__ = "0.15"
__status__ = "testing"
__description__ = """Nitroflare.com account plugin"""
@@ -59,7 +59,7 @@ class NitroflareCom(Account):
m = re.search(self.TRAFFIC_LEFT_PATTERN, html)
if m is not None:
try:
- trafficleft = self.parse_traffic(m.group('S2'), m.group('U2')) - self.parse_traffic(m.group('S1'), m.group('U1') if m.group('U1') else "B")
+ trafficleft = self.parse_traffic(m.group('S2'), m.group('U2')) - self.parse_traffic(m.group('S1'), m.group('U1') or "B")
except Exception, e:
self.log_error(e, trace=True)