Skip to content

Commit

Permalink
fix(main.py): adjust loading of environment variables based on config…
Browse files Browse the repository at this point in the history
…uration
  • Loading branch information
Nat1anWasTaken committed May 12, 2024
1 parent b15a271 commit 1e0177b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@


def main():
load_dotenv("stack.env")
if getenv("LOAD_ENV", "false").lower() == "true":
load_dotenv("stack.env")

setup_logging()

Expand Down

0 comments on commit 1e0177b

Please sign in to comment.