diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2022-06-14 23:03:09 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2022-06-14 23:03:09 +0300 |
commit | a3b4510b7270c1fe8db510f7f17a6cbe2486c48a (patch) | |
tree | 15836dbfc4bb613034dbcdef68090b24814692bd /src | |
parent | 3b82537499383cdfc470a39aa96ac32a6be6e117 (diff) |
sound_bot: fix flash once again
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 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] |