Skip to content

Commit 785b1b9

Browse files
committed
Fix type issue in run_summary call
Pass base_path as a string to run_summary in download_scenario to ensure compatibility with expected argument types.
1 parent e835a67 commit 785b1b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cea/interfaces/dashboard/api/contents.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ async def download_scenario(form: DownloadScenario, project_root: CEAProjectRoot
475475
files_to_zip.append((item_path, relative_path))
476476
elif output_files_level == "summary":
477477
# create summary files first
478-
await run_in_threadpool(run_summary, base_path, scenario)
478+
await run_in_threadpool(run_summary, str(base_path), scenario)
479479

480480
export_paths = (scenario_path / "export" / "results")
481481
for root, dirs, files in os.walk(export_paths):

0 commit comments

Comments
 (0)