mirror of
https://github.com/homarr-labs/dashboard-icons.git
synced 2025-09-19 14:11:30 +02:00
💚 Fixes file path
This commit is contained in:
parent
905cf481ac
commit
0f24a32c64
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ if __name__ == "__main__":
|
||||||
folder_tree = generate_folder_tree(folder_paths)
|
folder_tree = generate_folder_tree(folder_paths)
|
||||||
|
|
||||||
# Write the JSON structure to 'tree.json' in the root folder
|
# 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'
|
tree_json_path = root_dir / 'tree.json'
|
||||||
|
|
||||||
with open(tree_json_path, 'w') as f:
|
with open(tree_json_path, 'w') as f:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue