Skip to content

Commit f135388

Browse files
authored
Merge branch 'main' into RemovePrintHTD
2 parents eb76583 + 0c41154 commit f135388

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

default.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ POSTGRES_DB_NAME=
22
POSTGRES_DB_PASSWORD=
33
POSTGRES_DB_USER=
44
DEBUG=
5+
CONFIG_YML=./config.yml

techsupport_bot/bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class TechSupportBot(commands.Bot):
4747
FUNCTIONS_DIR (str):The list of all files in the FUNCTIONS_DIR_NAME folder
4848
"""
4949

50-
CONFIG_PATH: str = "./config.yml"
50+
CONFIG_PATH: str = os.environ.get("CONFIG_YML", "./config.yml")
5151
EXTENSIONS_DIR_NAME: str = "commands"
5252
EXTENSIONS_DIR: str = (
5353
f"{os.path.join(os.path.dirname(__file__))}/{EXTENSIONS_DIR_NAME}"

0 commit comments

Comments
 (0)