From 51981451733a7b1788d9b2695506bab2e98900a8 Mon Sep 17 00:00:00 2001 From: jacesleeman <46321222+jacesleeman@users.noreply.github.com> Date: Sun, 5 Jun 2022 14:36:40 -0400 Subject: [PATCH] fix --- main.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 4f3a451..a8f8f3e 100644 --- a/main.py +++ b/main.py @@ -29,9 +29,14 @@ for val in REQUIRED_VALUES: configured = False try: - float(os.getenv("OPACITY")) + float(os.getenv("TITLE_OPACITY")) except: - print(f"Please ensure that OPACITY is set between 0 and 1 in your .env file") + print(f"Please ensure that TITLE_OPACITY is set between 0 and 1 in your .env file") + configured = False +try: + float(os.getenv("COMMENT_OPACITY")) +except: + print(f"Please ensure that COMMENT_OPACITY is set between 0 and 1 in your .env file") configured = False if configured: