windows update bugfix

This commit is contained in:
ltdrdata
2023-05-31 00:01:03 +09:00
parent a321ebd7fc
commit e52d835dc6
3 changed files with 5 additions and 2 deletions

View File

@@ -44,7 +44,8 @@ def gitpull(path):
# Pull the latest changes from the remote repository
repo = git.Repo(path)
origin = repo.remote(name='origin')
origin.pull(submodule_update='recursive')
origin.pull()
repo.git.submodule('update', '--init', '--recursive')
repo.close()