From 139284525ce7b4b2e55f9786266ef4c673995ad3 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sun, 1 Jul 2018 13:18:09 +0200 Subject: endswith --- run.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/run.py b/run.py index 09ca983..efb31b9 100644 --- a/run.py +++ b/run.py @@ -211,9 +211,8 @@ def store_frames(frames, outputPath, opt, inputFirst=None, inputSecond=None): def pad_frames(writer, base_path, start, end): for index in range(start, end): - fn = os.path.join(base_path, "frame_{:0>5}.png".format(int(index + start))) + fn = os.path.join(base_path, "frame_{:0>5}.png".format(int(index))) if os.path.exists(fn): - print(fn) img = PIL.Image.open(fn) writer.write_frame(img) -- cgit v1.2.3-70-g09d2