diff --git a/utils/allowlist.py b/utils/allowlist.py index 758ec08..894bbae 100644 --- a/utils/allowlist.py +++ b/utils/allowlist.py @@ -16,11 +16,15 @@ import datetime import requests import json import os +import pandas import time import utils.pretty as ct import ijson def pullPolicyExechistories(url, choice, policiesnames, outputjson: bool): + if not os.path.exists('chunkinator.csv'): + with open('chunkinator.csv', 'x') as file: + pass headers = { "X-APIKey": os.getenv('APIKEY') }