Fix after previous commit

This commit is contained in:
oobabooga 2024-07-24 19:10:17 -07:00
parent b6830bcdae
commit b85ae6bc96

View file

@ -352,7 +352,7 @@ def update_requirements(initial_installation=False, pull=True):
after_pull_hashes = {file_name: calculate_file_hash(file_name) for file_name in files_to_check} after_pull_hashes = {file_name: calculate_file_hash(file_name) for file_name in files_to_check}
# Check if git pull actually updated anything # Check if git pull actually updated anything
if "Already up to date." not in pull_output: if "Already up to date." not in pull_output.stdout.decode('utf-8'):
repository_updated = True repository_updated = True
# Check for differences in installation file hashes # Check for differences in installation file hashes