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:
Rodrigo Castellon 2019-02-26 19:52:30 -05:00 committed by Devin Neal
parent 5b1f54a89e
commit 55c442f8fd

View file

@ -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_extension
self.partial_movie_file_path = file_path
self.temp_partial_movie_file_path = temp_file_path