electrum

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

commit f8c592f743a63e9c73c146b1811f114f7c21c301
parent 6b871a7cfd6705c59c8013a57d6923f3f8b166d7
Author: ThomasV <thomasv@electrum.org>
Date:   Mon,  4 Sep 2017 14:23:05 +0200

Merge pull request #2837 from ariard/fix_urllib

fix urllib.quote py2 to py3
Diffstat:
Mlib/util.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/util.py b/lib/util.py @@ -602,7 +602,7 @@ def create_URI(addr, amount, message): if message: if six.PY2 and type(message) == unicode: message = message.encode('utf8') - query.append('message=%s'%urllib.quote(message)) + query.append('message=%s'%urllib.parse.quote(message)) p = urllib_parse.ParseResult(scheme='bitcoin', netloc='', path=addr, params='', query='&'.join(query), fragment='') return urllib_parse.urlunparse(p)