diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2022-05-31 23:45:10 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2022-05-31 23:45:10 +0300 |
commit | e863761a32e3cda386d7c581f2adf6ed7b70e075 (patch) | |
tree | 6625f7cb3b3dd502e6da601ee933cc2016e29b02 | |
parent | 9f4cee92132f93ed9dc3034fefd8fe644566f13f (diff) |
sound_bot: minor camera layout changes
-rwxr-xr-x | src/sound_bot.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sound_bot.py b/src/sound_bot.py index ff522cd..47aa6b9 100755 --- a/src/sound_bot.py +++ b/src/sound_bot.py @@ -130,7 +130,7 @@ class SettingsRenderer(Renderer): cls.back_button(ctx, buttons, callback_data='s0') return html, InlineKeyboardMarkup(buttons) - + @classmethod def control(cls, ctx: Context, data) -> RenderedContent: node, control, *rest = callback_unpack(ctx) @@ -343,7 +343,7 @@ class CamerasRenderer(Renderer): def camera(cls, ctx: Context) -> RenderedContent: node, = callback_unpack(ctx) - html = ctx.lang('select_interval') + html = ctx.lang('select_option') buttons = [ [ InlineKeyboardButton(ctx.lang('w_flash'), callback_data=f'c1/{node}/1'), |