aboutsummaryrefslogtreecommitdiff
path: root/code/utils/config.py
diff options
context:
space:
mode:
authorParker <contact@pkrm.dev>2025-01-20 20:52:45 -0600
committerParker <contact@pkrm.dev>2025-01-20 20:52:45 -0600
commit432dee5cc499d0cd58bfc5061161c59f3a883647 (patch)
tree6f340ca0a4c8d083174953f716f8dfecb97bcbc6 /code/utils/config.py
parente5ede625b3fc7e0b71736b42eb4f52a2f5d63378 (diff)
Update path
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: