From fe383a794c606497c74904e37b39b07910a964fc Mon Sep 17 00:00:00 2001 From: Jason Date: Sun, 16 Jun 2024 17:38:24 -0400 Subject: [PATCH] Possible bug location. --- video_creation/final_video.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/video_creation/final_video.py b/video_creation/final_video.py index 70f39c4..4375287 100644 --- a/video_creation/final_video.py +++ b/video_creation/final_video.py @@ -334,6 +334,9 @@ def make_final_video( ) ) image_overlay = image_clips[i].filter("colorchannelmixer", aa=opacity) + assert ( + audio_clips_durations is not None + ), "Please make a GitHub issue if you see this. Ping @JasonLovesDoggo on GitHub." background_clip = background_clip.overlay( image_overlay, enable=f"between(t,{current_time},{current_time + audio_clips_durations[i]})",