Skip to content

Commit

Permalink
added comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Brew committed Feb 24, 2024
1 parent 300ea66 commit a3e10a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eyecite/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ def hash_sha256(dictionary: dict) -> int:
"""

# Convert the dictionary to a JSON string
# default needed because of dates
json_str: str = json.dumps(dictionary, sort_keys=True, default=str)

# Convert the JSON string to bytes
Expand Down

0 comments on commit a3e10a8

Please sign in to comment.