Skip to content

Commit

Permalink
normalize line ending to that of terminal
Browse files Browse the repository at this point in the history
  • Loading branch information
rjra2611 committed Nov 13, 2023
1 parent abfa74f commit c245088
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lean/components/util/encryption_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def get_project_key_hash(project_key_path: Path):
:param project_key_path: The path to the project key file
:return: The project iv
"""
with open(project_key_path, 'r', encoding='utf-8') as f:
with open(project_key_path, 'r', encoding='utf-8', newline='\r\n') as f:
content = f.read()
return calculate_md5(content)

Expand Down

0 comments on commit c245088

Please sign in to comment.