diff --git a/scripts/process_audit.py b/scripts/process_audit.py index 17e7070..c39fd94 100644 --- a/scripts/process_audit.py +++ b/scripts/process_audit.py @@ -13,7 +13,7 @@ def parse_files(): audit = json.load(open(file)) item = { 'report': { - 'date': audit['fetchTime'], + 'date': audit.get('fetchTime'), 'url': f"./{file.replace('.json', '.html')}" }, 'site': audit['finalUrl'],