From 524c9c50a08e38880b4ae985e633b532513915db Mon Sep 17 00:00:00 2001 From: Dylan De Faoite Date: Tue, 10 Mar 2026 23:23:22 +0000 Subject: [PATCH] fix(api): incorrect dataset status update message --- server/app.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/server/app.py b/server/app.py index 550537f..b187fb0 100644 --- a/server/app.py +++ b/server/app.py @@ -144,11 +144,12 @@ def scrape_data(): source["limit"] = int(source["limit"]) dataset_id = dataset_manager.save_dataset_info(user_id, dataset_name, default_topic_list) - dataset_manager.set_dataset_status(dataset_id, - "fetching", - f"Data is being fetched from {str(source["name"] + "," for source in source_configs)}" - ) - + dataset_manager.set_dataset_status( + dataset_id, + "fetching", + f"Data is being fetched from {', '.join(source['name'] for source in source_configs)}" + ) + try: fetch_and_process_dataset.delay(dataset_id, source_configs, default_topic_list)