diff options
author | Parker <contact@pkrm.dev> | 2024-08-02 21:52:21 -0500 |
---|---|---|
committer | Parker <contact@pkrm.dev> | 2024-08-02 21:52:21 -0500 |
commit | 3f23ef4edf5a33c3c184c8b92fc5143789cecbd1 (patch) | |
tree | 47b1ad56786f89c36d1c4eb0c67713c6b6a87d62 | |
parent | 6fdfba09b2cad092e851ee5db0a594d96dbdd47e (diff) |
Change config.yaml -> file_path variable
-rw-r--r-- | code/utils/config.py | 2 |
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: |