include exceptions

pull/280/head
iaacornus 3 years ago
parent e4bab8fb51
commit d6c7287630
No known key found for this signature in database
GPG Key ID: 281739AE7252598C

@ -38,7 +38,11 @@ def make_final_video(number_of_clips):
try:
opacity = float(os.getenv("OPACITY"))
except:
except (
ValueError,
FloatingPointError,
TypeError
):
print(f"Please ensure that OPACITY is set between 0 and 1 in your .env file")
configured = False

Loading…
Cancel
Save