mirror of
https://github.com/3b1b/manim.git
synced 2025-09-01 00:48:45 +00:00
Fixed temp_file_path
to be more specific in adding the "_temp." string to file name (#458)
fixed for paths with periods in it
This commit is contained in:
parent
5b1f54a89e
commit
55c442f8fd
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ class SceneFileWriter(object):
|
||||||
|
|
||||||
def open_movie_pipe(self):
|
def open_movie_pipe(self):
|
||||||
file_path = self.get_next_partial_movie_path()
|
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_extension
|
||||||
|
|
||||||
self.partial_movie_file_path = file_path
|
self.partial_movie_file_path = file_path
|
||||||
self.temp_partial_movie_file_path = temp_file_path
|
self.temp_partial_movie_file_path = temp_file_path
|
||||||
|
|
Loading…
Add table
Reference in a new issue