summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2022-05-31 23:45:10 +0300
committerEvgeny Zinoviev <me@ch1p.io>2022-05-31 23:45:10 +0300
commite863761a32e3cda386d7c581f2adf6ed7b70e075 (patch)
tree6625f7cb3b3dd502e6da601ee933cc2016e29b02
parent9f4cee92132f93ed9dc3034fefd8fe644566f13f (diff)
sound_bot: minor camera layout changes
-rwxr-xr-xsrc/sound_bot.py4
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'),