diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-02 04:22:19 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-02 04:22:19 +0200 |
commit | ab695d17397e101447102877cdd282d825051035 (patch) | |
tree | 28f9f62ffc57888b76ca32540dbf5af3a4cfc8d0 /module/plugins/accounts/FshareVn.py | |
parent | [UptoboxCom] Fix https://github.com/pyload/pyload/issues/1530 and https://git... (diff) | |
download | pyload-ab695d17397e101447102877cdd282d825051035.tar.xz |
[Account] Improve parse_traffic method + code cosmetics
Diffstat (limited to 'module/plugins/accounts/FshareVn.py')
-rw-r--r-- | module/plugins/accounts/FshareVn.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/accounts/FshareVn.py b/module/plugins/accounts/FshareVn.py index 24a858274..e692394ef 100644 --- a/module/plugins/accounts/FshareVn.py +++ b/module/plugins/accounts/FshareVn.py @@ -9,7 +9,7 @@ from module.plugins.internal.Account import Account class FshareVn(Account): __name__ = "FshareVn" __type__ = "account" - __version__ = "0.13" + __version__ = "0.14" __status__ = "testing" __description__ = """Fshare.vn account plugin""" @@ -58,4 +58,4 @@ class FshareVn(Account): def get_traffic_left(self): m = re.search(self.TRAFFIC_LEFT_PATTERN, html) - return self.parse_traffic(m.group(1) + m.group(2)) if m else 0 + return self.parse_traffic(m.group(1), m.group(2)) if m else 0 |