aboutsummaryrefslogtreecommitdiff
path: root/inc/sitemap.py
diff options
context:
space:
mode:
Diffstat (limited to 'inc/sitemap.py')
-rw-r--r--inc/sitemap.py1
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 @@
1import os 1import os
2from pathlib import Path, PurePosixPath 2from pathlib import Path, PurePosixPath
3 3
4
4def sitemap_tree(path): 5def sitemap_tree(path):
5 tree = dict(name=PurePosixPath(path).name, children=[]) 6 tree = dict(name=PurePosixPath(path).name, children=[])
6 try: 7 try: