Update path
Some checks are pending
Create and publish a Docker image / build-and-push-image (push) Waiting to run

This commit is contained in:
Parker M. 2025-01-20 20:52:45 -06:00
parent e5ede625b3
commit 432dee5cc4
Signed by: parker
GPG Key ID: 505ED36FC12B5D5E

View File

@ -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: