From 0f24a32c64881c72fdff0e6d27cdd3dff1aef8be Mon Sep 17 00:00:00 2001 From: Bjorn Lammers Date: Sun, 20 Oct 2024 19:43:18 +0200 Subject: [PATCH] :green_heart: Fixes file path --- scripts/generate_file_tree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/generate_file_tree.py b/scripts/generate_file_tree.py index bc23aa73..b238251e 100644 --- a/scripts/generate_file_tree.py +++ b/scripts/generate_file_tree.py @@ -28,7 +28,7 @@ if __name__ == "__main__": folder_tree = generate_folder_tree(folder_paths) # Write the JSON structure to 'tree.json' in the root folder - root_dir = Path(__file__).resolve().parent.parent # Assuming script is in 'scripts' folder + root_dir = Path(__file__).resolve().parent tree_json_path = root_dir / 'tree.json' with open(tree_json_path, 'w') as f: