electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit d87756ebd10530b5589fb6ce0e6cce56f22dfd48
parent fba352c8a2d5673d3a13037da22427e10b87c510
Author: thomasv <thomasv@gitorious>
Date:   Thu, 12 Jan 2012 13:52:48 +0100

minor fix

Diffstat:
Mclient/electrum.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/client/electrum.py b/client/electrum.py @@ -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 @@ -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 )