Merge pull request #779 from Cizzl/develop

fixes #778 when result folder not created
pull/786/head
Jason 2 years ago committed by GitHub
commit 6249528ec3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -125,7 +125,7 @@ def make_final_video(number_of_clips: int, length: int, reddit_obj: dict[str]):
if not exists(f"./results/{subreddit}"): if not exists(f"./results/{subreddit}"):
print_substep("The results folder didn't exist so I made it") 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( final.write_videofile(
"assets/temp/temp.mp4", "assets/temp/temp.mp4",

Loading…
Cancel
Save