Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Change default media output directory to from 'video' to 'videos'

Grant Sandersonf10baa3fcd95
diff --git a/manimlib/constants.py b/manimlib/constants.py
index c15618c4a..e878d70b7 100644
--- a/manimlib/constants.py
+++ b/manimlib/constants.py
@@ -29,7 +29,7 @@ def initialize_directories(config):
"Ignoring --media_dir, since --video_dir and --tex_dir were "
"both passed"
)
- VIDEO_DIR = config["video_dir"] or os.path.join(MEDIA_DIR, "video")
+ VIDEO_DIR = config["video_dir"] or os.path.join(MEDIA_DIR, "videos")
TEX_DIR = config["tex_dir"] or os.path.join(MEDIA_DIR, "Tex")
for folder in [VIDEO_DIR, TEX_DIR]: