mirror of
https://github.com/3b1b/manim.git
synced 2025-09-01 00:48:45 +00:00
Replace backslash to slash only on windows platform
This commit is contained in:
parent
ac87738701
commit
27f1dfe75b
1 changed files with 1 additions and 1 deletions
|
@ -720,7 +720,7 @@ class Scene(Container):
|
||||||
with open(file_list, 'w') as fp:
|
with open(file_list, 'w') as fp:
|
||||||
for pf_path in partial_movie_files:
|
for pf_path in partial_movie_files:
|
||||||
if os.name == 'nt':
|
if os.name == 'nt':
|
||||||
fp_path = fp_path.replace('\\', '/')
|
pf_path = pf_path.replace('\\', '/')
|
||||||
|
|
||||||
fp.write("file {}\n".format(pf_path))
|
fp.write("file {}\n".format(pf_path))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue