Commit 9be19d59 authored by Marien Fressinaud's avatar Marien Fressinaud

tec: Use os.mkdir instead of os.makedirs

parent 4769c56d
......@@ -79,7 +79,7 @@ def main():
elif os.path.exists(output_path):
# ... but it also can be a simple file if user created it manually!
os.remove(output_path)
os.makedirs(output_path, exist_ok=True)
os.mkdir(output_path)
# Check that index file exists and copy it under the ./site folder
index_filepath = os.path.join(os.curdir, "index.html")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment