aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorParker <contact@pkrm.dev>2024-08-02 21:52:21 -0500
committerParker <contact@pkrm.dev>2024-08-02 21:52:21 -0500
commit3f23ef4edf5a33c3c184c8b92fc5143789cecbd1 (patch)
tree47b1ad56786f89c36d1c4eb0c67713c6b6a87d62
parent6fdfba09b2cad092e851ee5db0a594d96dbdd47e (diff)
Change config.yaml -> file_path variable
-rw-r--r--code/utils/config.py2
1 files changed, 1 insertions, 1 deletions
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: