diff options
author | Walter Purcaro <vuolter@gmail.com> | 2015-01-28 23:18:24 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2015-01-28 23:18:24 +0100 |
commit | 5a88de946b7a909ed9b39b9ac647c200dd98367c (patch) | |
tree | ab9085f01fc9d224796dca5d66ec8b444e22cf6e /module | |
parent | [UploadedTo] Fix https://github.com/pyload/pyload/issues/1092 (diff) | |
parent | Update ShareonlineBiz.py (diff) | |
download | pyload-5a88de946b7a909ed9b39b9ac647c200dd98367c.tar.xz |
Merge pull request #1093 from Coksnuss/1091-support-prepaid-shareonline-account
ShareOnline: Handle PrePaid accounts as if they were Premium Accounts
Diffstat (limited to 'module')
-rw-r--r-- | module/plugins/accounts/ShareonlineBiz.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/accounts/ShareonlineBiz.py b/module/plugins/accounts/ShareonlineBiz.py index 3ee6e04af..e15f0f383 100644 --- a/module/plugins/accounts/ShareonlineBiz.py +++ b/module/plugins/accounts/ShareonlineBiz.py @@ -8,7 +8,7 @@ from module.plugins.Account import Account class ShareonlineBiz(Account): __name__ = "ShareonlineBiz" __type__ = "account" - __version__ = "0.30" + __version__ = "0.31" __description__ = """Share-online.biz account plugin""" __license__ = "GPLv3" @@ -40,7 +40,7 @@ class ShareonlineBiz(Account): if api['a'].lower() != "not_available": req.cj.setCookie("share-online.biz", 'a', api['a']) - premium = api['group'] == "Premium" + premium = api['group'] in ["Premium", "PrePaid"] validuntil = float(api['expire_date']) |