diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2022-06-14 22:59:43 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2022-06-14 22:59:43 +0300 |
commit | 3b82537499383cdfc470a39aa96ac32a6be6e117 (patch) | |
tree | cd89806f97151d60a2e367a52232dcd0c9e03ca7 /src | |
parent | e3d3d6b76010a6dd5c417f017339bec17fb07887 (diff) |
sound_bot: fix flash_available
Diffstat (limited to 'src')
-rwxr-xr-x | src/sound_bot.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |