diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-07-28 22:19:52 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-07-28 22:19:52 +0200 |
commit | 9e3ef8bddc2c599403c4ac5090cd12245e802dee (patch) | |
tree | 95c74c2284209ee8b51671f1cb4a3e12decaf599 /module | |
parent | Fix https://github.com/pyload/pyload/issues/1520 (diff) | |
download | pyload-9e3ef8bddc2c599403c4ac5090cd12245e802dee.tar.xz |
Fix https://github.com/pyload/pyload/issues/1578 (3)
Diffstat (limited to 'module')
-rw-r--r-- | module/plugins/internal/Account.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/internal/Account.py b/module/plugins/internal/Account.py index 788b62e7e..3084f02c7 100644 --- a/module/plugins/internal/Account.py +++ b/module/plugins/internal/Account.py @@ -12,7 +12,7 @@ from module.utils import compare_time, lock, parseFileSize as parse_size class Account(Plugin): __name__ = "Account" __type__ = "account" - __version__ = "0.09" + __version__ = "0.10" __status__ = "testing" __description__ = """Base account plugin""" @@ -345,7 +345,7 @@ class Account(Plugin): return random.choice(account_list) #@TODO: Random account?! Recheck in 0.4.10 return sorted(validuntil_list, - key=lambda user, info: info['data']['validuntil'], + key=lambda a: a[1]['data']['validuntil'], reverse=True)[0] |