Changed to 10 days
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@ def allowlistexechistories(url, outputjson: bool):
|
||||
checkpoint = item['checkpoint']
|
||||
print(f"Date Greater than 30 Days, Stepping to new Checkpoint. {item['checkpoint']}")
|
||||
else:
|
||||
if (datetime.date.today() - datetime.timedelta(days=1) > datetime.datetime.strptime(item['datetime'].replace(' +0000 UTC', ''), '%Y-%m-%dT%H:%M:%SZ').date()):
|
||||
if (datetime.date.today() - datetime.timedelta(days=10) > datetime.datetime.strptime(item['datetime'].replace(' +0000 UTC', ''), '%Y-%m-%dT%H:%M:%SZ').date()):
|
||||
pass
|
||||
else:
|
||||
#json_output['response']['exechistories'].append(json_response_data['response']['exechistories'][1])
|
||||
|
||||
Reference in New Issue
Block a user