Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Fix file problem when combine videos on Windows

pdcxscb76ec127084
diff --git a/manimlib/scene/scene.py b/manimlib/scene/scene.py
index b3cceb688..4e69e6b25 100644
--- a/manimlib/scene/scene.py
+++ b/manimlib/scene/scene.py
@@ -719,7 +719,7 @@ class Scene(Container):
)
with open(file_list, 'w') as fp:
for pf_path in partial_movie_files:
- fp.write("file {}\n".format(pf_path))
+ fp.write("file {}\n".format(pf_path).replace('\\', '/'))
movie_file_path = self.get_movie_file_path()
commands = [