diff options
-rwxr-xr-x | src/inverter_bot.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inverter_bot.py b/src/inverter_bot.py index 3e281d3..285fdeb 100755 --- a/src/inverter_bot.py +++ b/src/inverter_bot.py @@ -387,7 +387,7 @@ def setosp_input(ctx: Context): bot.notify_all( lambda lang: bot.lang.get('osp_changed_notification', lang, ctx.user.id, ctx.user.name, - bot.lang.get(str(selected_sp.value), lang)), + bot.lang.get(f'setosp_{selected_sp.value.lower()}', lang)), exclude=(ctx.user_id,) ) |