diff options
Diffstat (limited to 'module/plugins/internal/Account.py')
-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] |