commit 1c75dae159a6a043ff167bb53d2f89132dc9d194
parent c3f74d45009d21b4bac5846db851f0581306308c
Author: thomasv <thomasv@gitorious>
Date: Tue, 17 Jan 2012 10:47:04 +0100
print unused parameters in URI
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/client/electrum.py b/client/electrum.py
@@ -789,8 +789,10 @@ if __name__ == '__main__':
label = ''
for p in params:
k,v = p.split('=')
+ v = urldecode(v)
if k=='amount': amount = v
- if k=='label': label = urldecode(v)
+ elif k=='label': label = v
+ else: print k,v
gui.set_send_tab(address, amount, label)