diff --git a/14/14-2-sol-video-creator2.py b/14/14-2-sol-video-creator2.py index ea3caf2..d2a9c61 100644 --- a/14/14-2-sol-video-creator2.py +++ b/14/14-2-sol-video-creator2.py @@ -79,7 +79,7 @@ if __name__ == "__main__": out.write(cv2_image) break elif sec > SOLUTION-15: - for _ in range(sec+15-SOLUTION): + for _ in range(sec-(SOLUTION-15)): gif_anim.append(img_with_num) cv2_image = pil_to_cv2(img_with_num) out.write(cv2_image)