summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins')
-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 {