mirror of
https://github.com/adulau/crl-monitor.git
synced 2024-11-24 02:57:09 +00:00
Encoding issue with JSON dumps
This commit is contained in:
parent
47996ec87a
commit
0a81ef6467
1 changed files with 1 additions and 1 deletions
|
@ -73,4 +73,4 @@ for crl in os.listdir(args.d):
|
||||||
for revoked in crlp.get_revoked():
|
for revoked in crlp.get_revoked():
|
||||||
o['revoked'].append({'serial':revoked.get_serial(), 'rev_date':revoked.get_rev_date(), 'reason':revoked.get_reason()})
|
o['revoked'].append({'serial':revoked.get_serial(), 'rev_date':revoked.get_rev_date(), 'reason':revoked.get_reason()})
|
||||||
if args.j:
|
if args.j:
|
||||||
print json.dumps(o)
|
print json.dumps(o, ensure_ascii=False)
|
||||||
|
|
Loading…
Reference in a new issue