electrum

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

commit 6dfeb9001ade5e2423830e9c750bd52b0906a6ae
parent 0fc37dc4007e6136ce808aa85449702e5bcdd3cf
Author: ThomasV <thomasv1@gmx.de>
Date:   Tue, 11 Feb 2014 15:01:10 +0100

Merge pull request #566 from grnbrg/master

urlparse puts arguements in uri.query, not uri.path.
Diffstat:
Mplugins/qrscanner.py | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/plugins/qrscanner.py b/plugins/qrscanner.py @@ -350,10 +350,10 @@ def parse_uri(uri): uri = urlparse(uri) result = {'address': uri.netloc} - if uri.path.startswith('?'): - params = parse_qs(uri.path[1:]) + if uri.query.startswith('?'): + params = parse_qs(uri.query[1:]) else: - params = parse_qs(uri.path) + params = parse_qs(uri.query) for k,v in params.items(): if k in ('amount', 'label', 'message'):