Bugfix: Some Pages are not Generated: (#1278)

Fix issue with some pages not being generated
This commit is contained in:
Elijah Ahianyo 2023-06-29 23:01:31 +00:00 committed by GitHub
parent bb96e12940
commit 272f0eb003
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,8 +71,7 @@ def mkdir(path: str):
Args:
path: The path to the directory.
"""
if not os.path.exists(path):
os.makedirs(path)
os.makedirs(path, exist_ok=True)
def ln(src: str, dest: str, overwrite: bool = False) -> bool: