mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-03-23 20:35:16 +00:00
Merge pull request #407 from ParisNeo/ParisNeo-patch-3
Update update_script.py
This commit is contained in:
commit
eda447cc4d
@ -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…
x
Reference in New Issue
Block a user