Skip to content

Commit

Permalink
Fix a syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
jsf9k committed Feb 23, 2024
1 parent a2c9a26 commit 9845854
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sslyze_csv2mongo.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def store_data(clean_federal, agency_dict, db_config_file):
date_items = ("Not Before", "Not After")
for date_item in date_items:
if row[date_item]:
row[date_item] = datetime.datetime.strptime(
row[date_item] = datetime.strptime(
row[date_item], "%Y-%m-%dT%H:%M:%S"
).replace(tzinfo=timezone("US/Eastern"))
else:
Expand Down

0 comments on commit 9845854

Please sign in to comment.