diff --git a/lean/components/util/encryption_helper.py b/lean/components/util/encryption_helper.py index 8a50e3b8..e3e3de50 100644 --- a/lean/components/util/encryption_helper.py +++ b/lean/components/util/encryption_helper.py @@ -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)