summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/sound_bot.py2
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)