mirror of
https://github.com/3b1b/manim.git
synced 2025-11-14 22:27:49 +00:00
Only change backslash on windows
This commit is contained in:
parent
cb76ec1270
commit
ac87738701
1 changed files with 4 additions and 1 deletions
|
|
@ -719,7 +719,10 @@ class Scene(Container):
|
|||
)
|
||||
with open(file_list, 'w') as fp:
|
||||
for pf_path in partial_movie_files:
|
||||
fp.write("file {}\n".format(pf_path).replace('\\', '/'))
|
||||
if os.name == 'nt':
|
||||
fp_path = fp_path.replace('\\', '/')
|
||||
|
||||
fp.write("file {}\n".format(pf_path))
|
||||
|
||||
movie_file_path = self.get_movie_file_path()
|
||||
commands = [
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue