commit 2fa25c3f56c8ed1a89b32a2ef57bb5d90bf4d829
parent 075dfb5ccbbe7f313aed2d38bfec2f6acdd17748
Author: ThomasV <thomasv@electrum.org>
Date: Fri, 19 May 2017 09:10:19 +0200
fix get_payment_request
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/util.py b/lib/util.py
@@ -446,7 +446,7 @@ def parse_URI(uri, on_pr=None):
r = out.get('r')
sig = out.get('sig')
name = out.get('name')
- if r or (name and sig):
+ if on_pr and (r or (name and sig)):
def get_payment_request_thread():
import paymentrequest as pr
if name and sig: