Update video_creation/final_video.py

Co-authored-by: Simon <65854503+OpenSourceSimon@users.noreply.github.com>
pull/1583/head
Hassan Hossam 2 years ago committed by GitHub
parent e9a624c672
commit 2e283e53f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -100,7 +100,6 @@ def prepare_background(reddit_id: str, W: int, H: int) -> str:
output.run(quiet=True)
except Exception as e:
print('An error occurred while running...')
print('trying auto error fixing...')
try:
os.remove(f"assets/temp/{reddit_id}/background.mp4")
os.remove(f"assets/temp/{reddit_id}/background_noaudio.mp4")

Loading…
Cancel
Save