Bugfix: Profile update didn't save to proper file

This commit is contained in:
Logan Cusano
2021-12-28 20:32:19 -05:00
parent e66c28abbe
commit 9b3f67b2a1

2
bot.py
View File

@@ -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)