electrum

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

commit 6b5a2b98d2a2640cb202573c234f7dc473dd55d9
parent 775bbcc316fe23791d02151747ba2ad44508c5d2
Author: ThomasV <thomasv@gitorious>
Date:   Sun, 15 Jan 2012 21:13:20 +0100

fix URI parsing

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

diff --git a/client/electrum.py b/client/electrum.py @@ -775,8 +775,12 @@ if __name__ == '__main__': gui.init_wallet(wallet) gui = gui.BitcoinGUI(wallet) if re.match('^bitcoin:', cmd): - address, params = cmd[8:].split('?') - params = params.split('&') + o = cmd[8:].split('?') + address = o[0] + if len(o)>1: + params = o[1].split('&') + else: + params = [] cmd = 'gui' amount = '' label = ''