summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)