From 432dee5cc499d0cd58bfc5061161c59f3a883647 Mon Sep 17 00:00:00 2001 From: Parker Date: Mon, 20 Jan 2025 20:52:45 -0600 Subject: [PATCH] Update path --- code/utils/config.py | 4 ++-- 1 file 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: