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 9cfe58d..e45893d 100755
--- a/src/sound_bot.py
+++ b/src/sound_bot.py
@@ -439,7 +439,7 @@ def camera_capture(ctx: Context) -> None:
fd = tempfile.NamedTemporaryFile(delete=False, suffix='.jpg')
fd.close()
- client.capture(fd.name)
+ client.capture(fd.name, with_flash=bool(flash))
logger.debug(f'captured photo ({cam}), saved to {fd.name}')
camera_config = config['cameras'][cam]