summaryrefslogtreecommitdiff
path: root/src/home
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2022-11-18 04:15:18 +0300
committerEvgeny Zinoviev <me@ch1p.io>2022-11-18 04:15:18 +0300
commit648067d254f661961c842072e7dbe04f9b97bcb6 (patch)
tree36b650372b5891ae777d946e6e8249d494e87f90 /src/home
parentf7eaeeb88e250f14ac6fceebce27815f7ae3b702 (diff)
sound_sensor_server: fix
Diffstat (limited to 'src/home')
-rw-r--r--src/home/soundsensor/server.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/home/soundsensor/server.py b/src/home/soundsensor/server.py
index 4b14bd0..db01637 100644
--- a/src/home/soundsensor/server.py
+++ b/src/home/soundsensor/server.py
@@ -76,7 +76,8 @@ class SoundSensorServer:
if current_status == -1:
self.set_recording(config['server']['guard_recording_default']
if 'guard_recording_default' in config['server']
- else False)
+ else False,
+ update=False)
else:
self.set_recording(bool(current_status), update=False)