Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ def generate_release_notes(github_url, github_token, gemini_api_key, start_date,
|
|
13 |
parsed_url = urlparse(github_url)
|
14 |
path_parts = parsed_url.path.strip('/').split('/')
|
15 |
owner = path_parts[0]
|
16 |
-
repo_name = path_parts[1].rstrip('.git')
|
17 |
|
18 |
# Get the repository
|
19 |
repo = g.get_repo(f"{owner}/{repo_name}")
|
|
|
13 |
parsed_url = urlparse(github_url)
|
14 |
path_parts = parsed_url.path.strip('/').split('/')
|
15 |
owner = path_parts[0]
|
16 |
+
repo_name = '/'.join(path_parts[1:]).rstrip('.git')
|
17 |
|
18 |
# Get the repository
|
19 |
repo = g.get_repo(f"{owner}/{repo_name}")
|