Bugfix: Profile update didn't save to proper file
This commit is contained in:
2
bot.py
2
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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user