summaryrefslogtreecommitdiffstats
path: root/module/AccountManager.py
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2010-09-06 19:45:03 +0200
committerGravatar mkaay <mkaay@mkaay.de> 2010-09-06 19:45:03 +0200
commit2d9f39522b550008a3d5d3162136a712a6e9220f (patch)
tree54d9041e715adad66aa453c844dbca5640b42bc5 /module/AccountManager.py
parentmissing file -.- (diff)
downloadpyload-2d9f39522b550008a3d5d3162136a712a6e9220f.tar.xz
recheck fix, account update fix
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: