mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Fixed compile from file list issue
This commit is contained in:
parent
fc7d67e25f
commit
748ca4e0f1
1 changed files with 2 additions and 4 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Reference in a new issue