Update app.py
Browse files
app.py
CHANGED
|
@@ -273,10 +273,9 @@ def handle_all_actions(generate_clicks, download_clicks, pr_clicks,
|
|
| 273 |
if generated_file is None:
|
| 274 |
return dash.no_update, dash.no_update, dash.no_update, None, "Error: No file generated"
|
| 275 |
|
| 276 |
-
file_name = f"{datetime.now().strftime('%m-%d-%Y')}.md"
|
| 277 |
markdown_content = generated_file.getvalue().decode()
|
| 278 |
|
| 279 |
-
result = update_summary_and_create_pr(repo_url, folder_location,
|
| 280 |
|
| 281 |
if pr_url:
|
| 282 |
return dash.no_update, dash.no_update, True, None, f"PR Created: {pr_url}"
|
|
|
|
| 273 |
if generated_file is None:
|
| 274 |
return dash.no_update, dash.no_update, dash.no_update, None, "Error: No file generated"
|
| 275 |
|
|
|
|
| 276 |
markdown_content = generated_file.getvalue().decode()
|
| 277 |
|
| 278 |
+
result = update_summary_and_create_pr(repo_url, folder_location, start_date, end_date, markdown_content)
|
| 279 |
|
| 280 |
if pr_url:
|
| 281 |
return dash.no_update, dash.no_update, True, None, f"PR Created: {pr_url}"
|