From 1dc16726ef3c65346a5369cded90c31ee6bbaac0 Mon Sep 17 00:00:00 2001 From: Nitzo Date: Wed, 20 Jan 2016 23:58:10 +0200 Subject: [Acount] fix account refresh (2) --- module/plugins/internal/Account.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'module') diff --git a/module/plugins/internal/Account.py b/module/plugins/internal/Account.py index 184926a47..84f6ead1e 100644 --- a/module/plugins/internal/Account.py +++ b/module/plugins/internal/Account.py @@ -12,7 +12,7 @@ from module.plugins.internal.misc import Periodical, compare_time, decode, isite class Account(Plugin): __name__ = "Account" __type__ = "account" - __version__ = "0.71" + __version__ = "0.72" __status__ = "stable" __description__ = """Base account plugin""" @@ -306,7 +306,10 @@ class Account(Plugin): 'validuntil' : None} u = self.accounts[user] = d - return u['plugin'].choose(user) + result = u['plugin'].choose(user) + u['plugin'].get_info() + + return result @lock @@ -329,8 +332,6 @@ class Account(Plugin): else: self.add(user, password, options) - return True - @lock def removeAccount(self, user): -- cgit v1.2.3