From 3f23ef4edf5a33c3c184c8b92fc5143789cecbd1 Mon Sep 17 00:00:00 2001 From: Parker Date: Fri, 2 Aug 2024 21:52:21 -0500 Subject: [PATCH] Change config.yaml -> file_path variable --- code/utils/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/utils/config.py b/code/utils/config.py index 9fdcd1d..951676e 100644 --- a/code/utils/config.py +++ b/code/utils/config.py @@ -105,7 +105,7 @@ def load_config(): except FileNotFoundError: # Create a new config.yaml file with the template - with open("config.yaml", "w") as f: + with open(file_path, "w") as f: f.write( """ bot_info: