Browse Source

print unused parameters in URI

283
thomasv 13 years ago
parent
commit
1c75dae159
  1. 4
      client/electrum.py

4
client/electrum.py

@ -789,8 +789,10 @@ if __name__ == '__main__':
label = '' label = ''
for p in params: for p in params:
k,v = p.split('=') k,v = p.split('=')
v = urldecode(v)
if k=='amount': amount = 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) gui.set_send_tab(address, amount, label)

Loading…
Cancel
Save