Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Change way to remove sound_file_path

Alexander Vázquez32abbb937130
diff --git a/manimlib/scene/scene_file_writer.py b/manimlib/scene/scene_file_writer.py
index 46875e83b..d52f5baa8 100644
--- a/manimlib/scene/scene_file_writer.py
+++ b/manimlib/scene/scene_file_writer.py
@@ -351,7 +351,7 @@ class SceneFileWriter(object):
]
subprocess.call(commands)
shutil.move(temp_file_path, movie_file_path)
- subprocess.call(["rm", sound_file_path])
+ os.remove(sound_file_path)
self.print_file_ready_message(movie_file_path)