actually the URL in a payment challenge is element #0 of the data (which is a list)

This commit is contained in:
Seth Schoen 2012-11-17 00:41:01 -08:00
parent 56411b57a8
commit e3c819178f

View file

@ -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: