Remove useless strip

This commit is contained in:
henryruhs
2025-01-19 19:50:02 +01:00
parent bedd75920d
commit 9dd397579c

View File

@@ -14,7 +14,7 @@ def validate_hash(validate_path : str) -> bool:
if is_file(hash_path): if is_file(hash_path):
with open(hash_path) as hash_file: 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: with open(validate_path, 'rb') as validate_file:
validate_content = validate_file.read() validate_content = validate_file.read()