summaryrefslogtreecommitdiffstats
path: root/module/AccountManager.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/AccountManager.py')
-rw-r--r--module/AccountManager.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/module/AccountManager.py b/module/AccountManager.py
index b5c89dffc..9234f367d 100644
--- a/module/AccountManager.py
+++ b/module/AccountManager.py
@@ -140,7 +140,7 @@ class AccountManager():
#----------------------------------------------------------------------
def updateAccount(self, plugin , user, password, options):
"""add or update account"""
-
+ print accounts
if self.accounts.has_key(plugin):
p = self.getAccountPlugin(plugin)
p.updateAccounts(user, password, options)
@@ -152,6 +152,7 @@ class AccountManager():
self.accounts[plugin][user] = {"password": password, "options": options}
self.saveAccounts()
+ self.getAccountInfos(force=True)
#----------------------------------------------------------------------
def removeAccount(self, plugin, user):
@@ -165,6 +166,7 @@ class AccountManager():
del self.accounts[plugin][user]
self.saveAccounts()
+ self.getAccountInfos(force=True)
def getAccountInfos(self, force=False):
if not self.cachedAccountInfo: