Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

[CONST] Use makedirs() instead of mkdir().

frozar7e1f8e4b47ee
diff --git a/constants.py b/constants.py
index cfd1accaf..9acc5e71a 100644
--- a/constants.py
+++ b/constants.py
@@ -77,7 +77,7 @@ for folder in [FILE_DIR, IMAGE_DIR, GIF_DIR, MOVIE_DIR, TEX_DIR,
TEX_IMAGE_DIR, MOBJECT_DIR, IMAGE_MOBJECT_DIR,
STAGED_SCENES_DIR]:
if not os.path.exists(folder):
- os.mkdir(folder)
+ os.makedirs(folder)
TEX_TEXT_TO_REPLACE = "YourTextHere"
TEMPLATE_TEX_FILE = os.path.join(THIS_DIR, "template.tex")