Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Fixed compile from file list issue

Grant Sanderson748ca4e0f146
diff --git a/manimlib/scene/scene.py b/manimlib/scene/scene.py
index 4ebbc0fab..41e7ee574 100644
--- a/manimlib/scene/scene.py
+++ b/manimlib/scene/scene.py
@@ -788,8 +788,7 @@ class Scene(Container):
for pf_path in partial_movie_files:
if os.name == 'nt':
pf_path = pf_path.replace('\\', '/')
-
- fp.write("file {}\n".format(pf_path))
+ fp.write("file \'{}\'\n".format(pf_path))
movie_file_path = self.get_movie_file_path()
commands = [
@@ -807,8 +806,7 @@ class Scene(Container):
combine_process = subprocess.Popen(commands)
combine_process.wait()
- os.remove(file_list)
- print("File ready at {}".format(movie_file_path))
+ # os.remove(file_list)
if self.includes_sound:
sound_file_path = movie_file_path.replace(