From 5c87cb93dd24e1f0736f3fed50dd9c0cfaebaba8 Mon Sep 17 00:00:00 2001 From: Marcin Jachymiak Date: Fri, 6 Mar 2020 14:10:51 -0500 Subject: [PATCH] Add override to load_dotenv call --- setup-scripts/health-checker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup-scripts/health-checker.py b/setup-scripts/health-checker.py index 6eb97aa2..c36b0312 100755 --- a/setup-scripts/health-checker.py +++ b/setup-scripts/health-checker.py @@ -16,7 +16,7 @@ api_endpoint, port, portal_name, bot_token, password = None, None, None, None, N # Load dotenv file if possible. if len(sys.argv) > 1: env_path = Path(sys.argv[1]) - load_dotenv(dotenv_path=env_path) + load_dotenv(dotenv_path=env_path, override=True) bot_token = os.environ["DISCORD_BOT_TOKEN"] portal_name = os.getenv("PORTAL_NAME")