diff --git a/ingest_database.py b/ingest_database.py index 715336a..e4e88da 100644 --- a/ingest_database.py +++ b/ingest_database.py @@ -79,7 +79,7 @@ def main(): # Use the name of the parent folder as the JSON filename # e.g., .../items/gearfeet/ becomes .../items/gearfeet/gearfeet.json folder_name = os.path.basename(root) if rel_path != "." else "root" - json_output_path = os.path.join(target_output_dir, f"{folder_name}.json") + json_output_path = os.path.join(target_output_dir, f"records.json") # Save out the consolidated directory map with open(json_output_path, "w", encoding="utf-8") as json_file: