Skip to content

Commit

Permalink
Update circuit_maintenance_parser/parser.py
Browse files Browse the repository at this point in the history
Co-authored-by: Glenn Matthews <[email protected]>
  • Loading branch information
chadell and glennmatthews authored Oct 26, 2023
1 parent c98bf4c commit 0f9dcf6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions circuit_maintenance_parser/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,8 +374,8 @@ def _get_maintenance_id(self, generated_json: dict, start, end, circuits):
if maintenance_key and generated_json["maintenance_id"] != "N/A":
return generated_json["maintenance_id"]

maintenace_id = str(start) + str(end) + "".join(list(circuits))
return hashlib.md5(maintenace_id.encode("utf-8")).hexdigest() # nosec
maintenance_id = str(start) + str(end) + "".join(list(circuits))
return hashlib.md5(maintenance_id.encode("utf-8")).hexdigest() # nosec

def parse_content(self, content):
"""Parse content via LLM."""
Expand Down

0 comments on commit 0f9dcf6

Please sign in to comment.