tminor fix - electrum - Electrum Bitcoin wallet (HTM) git clone https://git.parazyd.org/electrum (DIR) Log (DIR) Files (DIR) Refs (DIR) Submodules --- (DIR) commit d87756ebd10530b5589fb6ce0e6cce56f22dfd48 (DIR) parent fba352c8a2d5673d3a13037da22427e10b87c510 (HTM) Author: thomasv <thomasv@gitorious> Date: Thu, 12 Jan 2012 13:52:48 +0100 minor fix Diffstat: M client/electrum.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- (DIR) diff --git a/client/electrum.py b/client/electrum.py t@@ -258,7 +258,7 @@ class Interface: else: break s.close() self.rtime = time.time() - t1 - if cmd == 'peers': + if cmd in[ 'peers','h']: out = ast.literal_eval( out ) return out t@@ -284,7 +284,7 @@ class Interface: def retrieve_history(self, address): out = self.handler('blockchain.address.get_history', address ) - return ast.literal_eval( out ) + return out def poll(self): out = self.handler('session.poll', self.session_id )