Skip to content

Commit

Permalink
cope with new structure
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy McKay committed Apr 25, 2012
1 parent 9d35e40 commit 24b950b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion receipts.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@ def expand(self, domain):
receipts = v.pop('receipts')
pprint(v)
for r in receipts:
pprint(jwt.decode(r.encode('ascii'), verify=False))
cert, receipt = r.split('~')
pprint(jwt.decode(cert.encode('ascii'), verify=False))
pprint(jwt.decode(receipt.encode('ascii'), verify=False))


def main():
Expand Down

0 comments on commit 24b950b

Please sign in to comment.