mirror of
https://github.com/bjoernellens1/cps_loki.git
synced 2024-11-22 23:33:50 +00:00
Update initialize.py
This commit is contained in:
parent
7a0b2edeee
commit
2334e13e2c
@ -5,7 +5,7 @@ class GitCloner:
|
||||
def __init__(self, directory):
|
||||
self.directory = directory
|
||||
|
||||
def clone_repo(self, repo_url, branch='master'):
|
||||
def clone_repo(self, repo_url, branch='main'):
|
||||
repo_name = repo_url.split('/')[-1].split('.')[0]
|
||||
repo_path = os.path.join(self.directory, repo_name)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user