aboutsummaryrefslogtreecommitdiff
path: root/code/utils/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'code/utils/config.py')
-rw-r--r--code/utils/config.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/code/utils/config.py b/code/utils/config.py
index 9e1b687..061b424 100644
--- a/code/utils/config.py
+++ b/code/utils/config.py
@@ -105,7 +105,7 @@ def load_config() -> None:
"""
database_setup()
if os.path.exists("/.dockerenv"):
- file_path = "/config/config.yaml"
+ file_path = "config/config.yaml"
else:
file_path = "config.yaml"
@@ -115,7 +115,7 @@ def load_config() -> None:
validate_config(contents)
except FileNotFoundError:
- with open("config.yaml", "w") as f:
+ with open(file_path, "w") as f:
f.write(
"""
bot_info: