From 82e672c0eb27927171cad10101b6be4810b18ed7 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sat, 2 Oct 2010 22:58:50 +0200 Subject: formated output --- module/plugins/Account.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'module/plugins') 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 { -- cgit v1.2.3