mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-10-01 01:26:03 -04:00
Fix after previous commit
This commit is contained in:
parent
b6830bcdae
commit
b85ae6bc96
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user