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/RehostTo.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/RehostTo.py')
-rw-r--r-- | module/plugins/accounts/RehostTo.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/accounts/RehostTo.py b/module/plugins/accounts/RehostTo.py index 2ad4cdceb..4ff3f15a8 100644 --- a/module/plugins/accounts/RehostTo.py +++ b/module/plugins/accounts/RehostTo.py @@ -6,7 +6,7 @@ from module.plugins.internal.Account import Account class RehostTo(Account): __name__ = "RehostTo" __type__ = "account" - __version__ = "0.20" + __version__ = "0.21" __status__ = "testing" __config__ = [("mh_mode" , "all;listed;unlisted", "Filter hosters to use" , "all"), @@ -48,7 +48,7 @@ class RehostTo(Account): traffic, valid = html.split(",") premium = True - trafficleft = self.parse_traffic(traffic + "MB") + trafficleft = self.parse_traffic(traffic, "MB") validuntil = float(valid) finally: |