Update update_script.py

This commit is contained in:
Saifeddine ALOUI 2023-10-16 13:37:05 +02:00 committed by GitHub
parent c6bf2b7ef4
commit 9361bcecec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,6 +20,8 @@ def run_git_pull():
try:
submodule_repo = submodule.module()
submodule_repo.git.checkout('main')
print(f"Checking out main from {submodule}")
except Exception as ex:
print(f"Couldn't checkout module {submodule}")
except Exception as ex: