From e3c819178faff94c177836dc5d3e1d46a7d05e72 Mon Sep 17 00:00:00 2001 From: Seth Schoen Date: Sat, 17 Nov 2012 00:41:01 -0800 Subject: [PATCH] actually the URL in a payment challenge is element #0 of the data (which is a list) --- trustify/client/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trustify/client/client.py b/trustify/client/client.py index 6f40857db..fa84ec7bd 100644 --- a/trustify/client/client.py +++ b/trustify/client/client.py @@ -293,7 +293,7 @@ def challenge_factory(r, req_filepath, key_filepath, config): dn.append(chall.name) if chall.type == r.Payment: - url = chall.data + url = chall.data[0] challenges.append(Payment_Challenge(url)) #if chall.type == r.Interactive: