A community-maintained Python framework for creating mathematical animations.
Fixed `temp_file_path` to be more specific in adding the "_temp." string to file name (#458)
Rodrigo Castellon55c442f8fd5d
diff --git a/manimlib/scene/scene_file_writer.py b/manimlib/scene/scene_file_writer.pyindex 4c2f0e46d..0a14efe25 100644--- a/manimlib/scene/scene_file_writer.py+++ b/manimlib/scene/scene_file_writer.py@@ -199,7 +199,7 @@ class SceneFileWriter(object):def open_movie_pipe(self):file_path = self.get_next_partial_movie_path()- temp_file_path = file_path.replace(".", "_temp.")+ temp_file_path = os.path.splitext(file_path)[0] + '_temp' + self.movie_file_extensionself.partial_movie_file_path = file_pathself.temp_partial_movie_file_path = temp_file_path