Open mbradds opened 2 years ago
if not test: with open('../data_output/incidents/'+folder_name+'.json', 'w') as fp: json.dump(this_company_data, fp)
This code only needs to appear once at the end of the if statement instead of in both the if and else.
This code only needs to appear once at the end of the if statement instead of in both the if and else.