From a3b4510b7270c1fe8db510f7f17a6cbe2486c48a Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Tue, 14 Jun 2022 23:03:09 +0300 Subject: sound_bot: fix flash once again --- src/sound_bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] -- cgit v1.2.3