summaryrefslogtreecommitdiffstats
path: root/module/plugins/Account.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-10-02 22:58:50 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-10-02 22:58:50 +0200
commit82e672c0eb27927171cad10101b6be4810b18ed7 (patch)
treef81cb225513710247958c9a18014405011c0d584 /module/plugins/Account.py
parentimproved accountmanager (diff)
downloadpyload-82e672c0eb27927171cad10101b6be4810b18ed7.tar.xz
formated output
Diffstat (limited to 'module/plugins/Account.py')
-rw-r--r--module/plugins/Account.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/module/plugins/Account.py b/module/plugins/Account.py
index 5e86488d7..6260ac3c7 100644
--- a/module/plugins/Account.py
+++ b/module/plugins/Account.py
@@ -80,11 +80,9 @@ class Account():
infos = {"error": str(e)}
self.core.log.debug("Account Info: %s" % str(infos))
self.infos[name] = infos
- data.update(infos)
- return data
- else:
- data.update(self.infos[name])
- return data
+
+ data.update(self.infos[name])
+ return data
def loadAccountInfo(self, name):
return {