summaryrefslogtreecommitdiff
path: root/src/sound_sensor_server.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/sound_sensor_server.py')
-rwxr-xr-xsrc/sound_sensor_server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sound_sensor_server.py b/src/sound_sensor_server.py
index c63d14a..aa62608 100755
--- a/src/sound_sensor_server.py
+++ b/src/sound_sensor_server.py
@@ -190,7 +190,7 @@ if __name__ == '__main__':
finished_handler=partial(record_finished, MediaNodeType.CAMERA))
try:
- server = SoundSensorServer(parse_addr(config['server']['listen']), HitHandler)
+ server = SoundSensorServer(config.get_addr('server.listen'), HitHandler)
server.run()
except KeyboardInterrupt:
interrupted = True