From e863761a32e3cda386d7c581f2adf6ed7b70e075 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Tue, 31 May 2022 23:45:10 +0300 Subject: sound_bot: minor camera layout changes --- src/sound_bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sound_bot.py') 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'), -- cgit v1.2.3