mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-20 04:47:55 +00:00
Update update_script.py
This commit is contained in:
parent
738e1c84e0
commit
36f877d2ef
@ -19,8 +19,9 @@ def run_git_pull():
|
||||
for submodule in repo.submodules:
|
||||
submodule_repo = submodule.module()
|
||||
submodule_repo.git.checkout('main')
|
||||
except:
|
||||
except Exception as ex:
|
||||
print("Couldn't update submodules")
|
||||
print(ex)
|
||||
return True
|
||||
except git.GitCommandError as e:
|
||||
print(f"Error during git pull: {e}")
|
||||
|
Loading…
Reference in New Issue
Block a user