From 27bd4fc8181aa8904b5eb846dc8a71a3f9067b0e Mon Sep 17 00:00:00 2001 From: deceivedhornet Date: Thu, 11 Jun 2026 01:52:47 -0400 Subject: [PATCH] Call all jsons "records,json" --- ingest_database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: