From 2275540aa88e1a6cb24d5cecf4a4bac44a4cd08f Mon Sep 17 00:00:00 2001 From: Jacob Chambers Date: Sat, 4 Jun 2022 01:58:27 +0100 Subject: [PATCH] Fixed loop check --- main.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 3293e08..4235de4 100644 --- a/main.py +++ b/main.py @@ -36,5 +36,7 @@ while True: else: print(f"Video for thread already exists! Trying again...") - if os.getenv("LOOP") != "true": + print(os.getenv("LOOP")) + + if os.getenv("LOOP") != "yes": break