Skip to content

Commit

Permalink
preserve line endling when reading
Browse files Browse the repository at this point in the history
  • Loading branch information
rjra2611 committed Nov 13, 2023
1 parent c245088 commit 6cfad16
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', newline='\r\n') as f:
with open(project_key_path, 'r', encoding='utf-8', newline='') as f:
content = f.read()
return calculate_md5(content)

Expand Down

0 comments on commit 6cfad16

Please sign in to comment.