diff options
Diffstat (limited to 'inc/sitemap.py')
-rw-r--r-- | inc/sitemap.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/sitemap.py b/inc/sitemap.py index e050c77d..5ccf7447 100644 --- a/inc/sitemap.py +++ b/inc/sitemap.py | |||
@@ -1,6 +1,7 @@ | |||
1 | import os | 1 | import os |
2 | from pathlib import Path, PurePosixPath | 2 | from pathlib import Path, PurePosixPath |
3 | 3 | ||
4 | |||
4 | def sitemap_tree(path): | 5 | def sitemap_tree(path): |
5 | tree = dict(name=PurePosixPath(path).name, children=[]) | 6 | tree = dict(name=PurePosixPath(path).name, children=[]) |
6 | try: | 7 | try: |