From 9f894c17222da5f03a85f59608e7c9764422b4e8 Mon Sep 17 00:00:00 2001 From: Cizzl Date: Fri, 1 Jul 2022 11:18:08 +0200 Subject: [PATCH] fixes #778 when result folder not created --- video_creation/final_video.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/video_creation/final_video.py b/video_creation/final_video.py index fca0e69..baa5a00 100755 --- a/video_creation/final_video.py +++ b/video_creation/final_video.py @@ -125,7 +125,7 @@ def make_final_video(number_of_clips: int, length: int, reddit_obj: dict[str]): if not exists(f"./results/{subreddit}"): print_substep("The results folder didn't exist so I made it") - os.mkdir(f"./results/{subreddit}") + os.makedirs(f"./results/{subreddit}") final.write_videofile( "assets/temp/temp.mp4",