From cb76ec127084b294e5b941529dc33f497a8a282b Mon Sep 17 00:00:00 2001 From: pdcxs Date: Sun, 13 Jan 2019 23:35:05 +0800 Subject: [PATCH] Fix file problem when combine videos on Windows --- manimlib/scene/scene.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manimlib/scene/scene.py b/manimlib/scene/scene.py index b3cceb68..4e69e6b2 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 = [