mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-18 20:17:50 +00:00
Update update_script.py
This commit is contained in:
parent
2646d0182c
commit
e86dc6a160
@ -21,8 +21,8 @@ def run_git_pull():
|
||||
submodule_repo = submodule.module()
|
||||
submodule_repo.git.checkout('main')
|
||||
print(f"Checking out main from {submodule}")
|
||||
submodule.update()
|
||||
print(f"Checking out main from {submodule}")
|
||||
submodule.repo.git.submodule('update', '--remote', submodule.name) # Force submodule update
|
||||
print(f"Forcing update on {submodule}")
|
||||
|
||||
except Exception as ex:
|
||||
print(f"Couldn't checkout module {submodule}")
|
||||
|
Loading…
Reference in New Issue
Block a user