From 27f1dfe75bf20b82ae9b841528bfecd169fe58a8 Mon Sep 17 00:00:00 2001 From: pdcxs Date: Mon, 14 Jan 2019 10:45:36 +0800 Subject: [PATCH] Replace backslash to slash only on windows platform --- manimlib/scene/scene.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manimlib/scene/scene.py b/manimlib/scene/scene.py index 72dde6a4..b3135cf0 100644 --- a/manimlib/scene/scene.py +++ b/manimlib/scene/scene.py @@ -720,7 +720,7 @@ class Scene(Container): with open(file_list, 'w') as fp: for pf_path in partial_movie_files: if os.name == 'nt': - fp_path = fp_path.replace('\\', '/') + pf_path = pf_path.replace('\\', '/') fp.write("file {}\n".format(pf_path))