From 2129b02593c7c98568e45cfb880fe96dcc8cfe0f Mon Sep 17 00:00:00 2001 From: InsertDisc <31751462+InsertDisc@users.noreply.github.com> Date: Mon, 2 Sep 2024 15:00:30 -0400 Subject: [PATCH] Update main.py Fix check for environment variable RUN_NOW to make input type (str). --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 8641c37..1304790 100644 --- a/main.py +++ b/main.py @@ -12,7 +12,7 @@ if "RUN_NOW" in os.environ: argument = os.environ["RUN_NOW"] - if argument == True: + if argument.lower() == "true": with open("pattrmm.py") as f: exec(f.read())