Update initialize.py

This commit is contained in:
bjoernellens1 2023-05-25 11:55:35 +02:00 committed by GitHub
parent 7a0b2edeee
commit 2334e13e2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)