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)