diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2023-01-04 03:44:07 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2023-01-04 03:44:07 +0300 |
commit | d549f428cbbd54c49a90f92928e670d373c4a0d9 (patch) | |
tree | b895a216a37483c082af6f20b2d6aef8560db7b3 /src/sound_node.py | |
parent | 00de2339b4a61921c4b8789883e5c77b4528a60b (diff) |
config: use get_addr() instead of parse_addr(config[...])
Diffstat (limited to 'src/sound_node.py')
-rwxr-xr-x | src/sound_node.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sound_node.py b/src/sound_node.py index 7d8ba1a..9d53362 100755 --- a/src/sound_node.py +++ b/src/sound_node.py @@ -3,7 +3,6 @@ import os from typing import Optional -from home.util import parse_addr from home.config import config from home.audio import amixer from home.media import MediaNodeServer, SoundRecordStorage, SoundRecorder @@ -87,5 +86,5 @@ if __name__ == '__main__': server = SoundNodeServer(recorder=recorder, storage=storage, - addr=parse_addr(config['node']['listen'])) + addr=config.get_addr('node.listen')) server.run() |