mirror of
https://github.com/bjoernellens1/cps_loki.git
synced 2025-04-20 09:15:08 +00:00
Update initialize.py
This commit is contained in:
parent
544649845c
commit
464f7e86c8
@ -31,6 +31,9 @@ class GitCloner:
|
|||||||
|
|
||||||
# Pull the latest changes from the repository
|
# Pull the latest changes from the repository
|
||||||
subprocess.check_output(['git', 'pull'])
|
subprocess.check_output(['git', 'pull'])
|
||||||
|
|
||||||
|
#Go back one level
|
||||||
|
os.chdir(os.path.join(self.maindir, 'src'))
|
||||||
|
|
||||||
print(f"Successfully updated repository '{repo_name}'.")
|
print(f"Successfully updated repository '{repo_name}'.")
|
||||||
except subprocess.CalledProcessError as e:
|
except subprocess.CalledProcessError as e:
|
||||||
|
Loading…
Reference in New Issue
Block a user