From 38e418f48c3d1675ba0ecf3e5659acbbd1367e17 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Thu, 24 Sep 2020 14:19:34 -0700 Subject: [PATCH] Use pathclass.Path.makedirs. --- voussoir.net/writing/generate_site.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/voussoir.net/writing/generate_site.py b/voussoir.net/writing/generate_site.py index 9616cc6..059a428 100644 --- a/voussoir.net/writing/generate_site.py +++ b/voussoir.net/writing/generate_site.py @@ -387,7 +387,7 @@ def write_tag_pages(index, path=[]): filepath = ['tags'] + [tag.name for tag in path] + ['index.html'] filepath = os.sep.join(filepath) filepath = writing_rootdir.join(filepath) - os.makedirs(filepath.parent.absolute_path, exist_ok=True) + filepath.parent.makedirs(exist_ok=True) page = make_tag_page(index, path)