1
0
Fork 0
mirror of https://github.com/walkxcode/dashboard-icons.git synced 2024-11-13 23:27:57 +01:00

💚 Fixes file path

This commit is contained in:
Bjorn Lammers 2024-10-20 19:43:18 +02:00
parent 905cf481ac
commit 0f24a32c64
No known key found for this signature in database

View file

@ -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: