From 9dd397579cfa2f515d62f01abeffe04afcbe29fd Mon Sep 17 00:00:00 2001 From: henryruhs Date: Sun, 19 Jan 2025 19:50:02 +0100 Subject: [PATCH] Remove useless strip --- facefusion/hash_helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/facefusion/hash_helper.py b/facefusion/hash_helper.py index 5259edb..d3d84d8 100644 --- a/facefusion/hash_helper.py +++ b/facefusion/hash_helper.py @@ -14,7 +14,7 @@ def validate_hash(validate_path : str) -> bool: if is_file(hash_path): with open(hash_path) as hash_file: - hash_content = hash_file.read().strip() + hash_content = hash_file.read() with open(validate_path, 'rb') as validate_file: validate_content = validate_file.read()