From d6c9dafd6fe3205d368f278949829d217231a449 Mon Sep 17 00:00:00 2001 From: Simon Date: Wed, 12 Apr 2023 20:50:03 +0200 Subject: [PATCH] Fix os import --- video_creation/final_video.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/video_creation/final_video.py b/video_creation/final_video.py index ec1567a..f207deb 100644 --- a/video_creation/final_video.py +++ b/video_creation/final_video.py @@ -2,6 +2,7 @@ import multiprocessing import os import re import shutil +from os.path import exists # Needs to be imported specifically from typing import Final from typing import Tuple, Any @@ -346,8 +347,4 @@ def make_final_video( print_step("Removing temporary files 🗑") cleanups = cleanup(reddit_id) print_substep(f"Removed {cleanups} temporary files 🗑") - print_substep("See result in the results folder!") - - print_step( - f'Reddit title: {reddit_obj["thread_title"]} \n Background Credit: {background_config[2]}' - ) + print_step("Done! 🎉 The video is in the results folder 📁")