summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nitzo <nitzo2001@yahoo.com> 2016-01-20 22:58:10 +0100
committerGravatar Nitzo <nitzo2001@yahoo.com> 2016-01-20 22:58:10 +0100
commit1dc16726ef3c65346a5369cded90c31ee6bbaac0 (patch)
treeccc9b8f73fb32204b9f579cf6a89cefa4320d5ef
parent[Checksum] fix #2258 (diff)
downloadpyload-1dc16726ef3c65346a5369cded90c31ee6bbaac0.tar.xz
[Acount] fix account refresh (2)
-rw-r--r--module/plugins/internal/Account.py9
1 files changed, 5 insertions, 4 deletions
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):