diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-10-02 22:58:50 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-10-02 22:58:50 +0200 |
commit | 82e672c0eb27927171cad10101b6be4810b18ed7 (patch) | |
tree | f81cb225513710247958c9a18014405011c0d584 /module/plugins | |
parent | improved accountmanager (diff) | |
download | pyload-82e672c0eb27927171cad10101b6be4810b18ed7.tar.xz |
formated output
Diffstat (limited to 'module/plugins')
-rw-r--r-- | module/plugins/Account.py | 8 |
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 { |