From 8ffb00ad58f684da6a97f47ed89da3b0517c5c5c Mon Sep 17 00:00:00 2001 From: mrhanky Date: Tue, 22 Aug 2017 19:01:33 +0200 Subject: [PATCH] Using env_file var now --- bot/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/__init__.py b/bot/__init__.py index 9611cf2..acd17ad 100644 --- a/bot/__init__.py +++ b/bot/__init__.py @@ -34,7 +34,7 @@ class Bot(irc3.IrcBot): cfg_file = os.path.join(cls.CONFIG_DIR, cfg_file) env_file = os.path.join(cls.CONFIG_DIR, env_file) - load_dotenv('.env') + load_dotenv(env_file) with open(cfg_file, 'r') as fp: conf = json.load(fp)