Skip to content

Commit

Permalink
fix empty resolver
Browse files Browse the repository at this point in the history
  • Loading branch information
raph2i committed Oct 15, 2020
1 parent 8d8d19b commit 58b0f24
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions extractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,9 @@ def createCerts(args):
print('Unable to locate account or certificates in json')
return
# if Resolver is defined, but not used, return
if resolver['Certificates'] == 'null':
return
if resolver['Certificates'] is None:
print('resolver without cert... continue...')
continue
# Loop over all certificates
for c in resolver['Certificates']:
# pprint(c)
Expand Down

0 comments on commit 58b0f24

Please sign in to comment.