Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
Fix check for environment variable RUN_NOW to make input type (str).
  • Loading branch information
InsertDisc authored Sep 2, 2024
1 parent 88ebdd1 commit 2129b02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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())

Expand Down

0 comments on commit 2129b02

Please sign in to comment.