From 3b82537499383cdfc470a39aa96ac32a6be6e117 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Tue, 14 Jun 2022 22:59:43 +0300 Subject: sound_bot: fix flash_available --- src/sound_bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/sound_bot.py b/src/sound_bot.py index 2503893..9cfe58d 100755 --- a/src/sound_bot.py +++ b/src/sound_bot.py @@ -420,7 +420,7 @@ def camera_options(ctx: Context) -> None: return ctx.answer() - flash_available = 'flash' in config['cameras'][cam] and config['cameras'][cam]['flash'] is True + flash_available = 'flash_available' in config['cameras'][cam] and config['cameras'][cam]['flash_available'] is True text, markup = CamerasRenderer.camera(ctx, flash_available) ctx.edit(text, markup) -- cgit v1.2.3