From d9015df8ed6cc162915ebe074f567592c20fb523 Mon Sep 17 00:00:00 2001 From: Jason Date: Thu, 16 Jun 2022 18:00:44 -0400 Subject: [PATCH] fixed shirts i think --- video_creation/background.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/video_creation/background.py b/video_creation/background.py index e8f8ad1..d1a7948 100644 --- a/video_creation/background.py +++ b/video_creation/background.py @@ -14,7 +14,7 @@ def get_start_and_end_times(video_length, length_of_clip): def download_background(): - """Downloads the backgrounds/s video from youtube.""" + """Downloads the backgrounds/s video from YouTube.""" Path("./assets/backgrounds/").mkdir(parents=True, exist_ok=True) background_options = [ # uri , filename , credit ("https://www.youtube.com/watch?v=n_Dv4JMiwK8", "parkour.mp4", "bbswitzer"), @@ -25,7 +25,7 @@ def download_background(): # ), ] # note: make sure the file name doesn't include an - in it - if not len(listdir("./assets/backgrounds")) <= len( + if not len(listdir("./assets/backgrounds")) >= len( background_options ): # if there are any background videos not installed print_step(