From 9b3f67b2a115866360f1b12798174158e764f939 Mon Sep 17 00:00:00 2001 From: Logan Cusano Date: Tue, 28 Dec 2021 20:32:19 -0500 Subject: [PATCH] Bugfix: Profile update didn't save to proper file --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 0f4756c..0a32ac7 100644 --- a/bot.py +++ b/bot.py @@ -325,7 +325,7 @@ class Bot(commands.Bot): config[str(profile_name)]['Sample Rate'] = self.sample_rate config[str(profile_name)]['Player Sample Rate'] = self.play_sample_rate - with open('./config.ini', 'w+') as config_file: + with open('./profiles.ini', 'w+') as config_file: config.write(config_file)