fix: add float cast to opacity to fix bug

pull/836/head
Callum Leslie 2 years ago
parent 0eeee51fcc
commit 6412aa546b
No known key found for this signature in database
GPG Key ID: D382C4AFEECEAA90

@ -61,7 +61,7 @@ def make_final_video(number_of_clips: int, length: int, reddit_obj: dict):
# add title to video
image_clips = []
# Gather all images
new_opacity = 1 if opacity is None or float(opacity) >= 1 else opacity
new_opacity = 1 if opacity is None or float(opacity) >= 1 else float(opacity)
image_clips.insert(
0,

Loading…
Cancel
Save