From 073e738be95b534d0dc1324e3b53792cff99e1fc Mon Sep 17 00:00:00 2001 From: pstruebi Date: Thu, 20 Feb 2025 13:45:47 +0100 Subject: [PATCH] refractoring --- auracast/multicast.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/auracast/multicast.py b/auracast/multicast.py index 7579d30..2fcb276 100644 --- a/auracast/multicast.py +++ b/auracast/multicast.py @@ -23,8 +23,7 @@ import logging import wave import itertools import struct -from typing import cast, Any, AsyncGenerator, Coroutine, Dict, Optional, Tuple -from typing import List +from typing import cast, Any, AsyncGenerator, Coroutine, Dict, Optional, Tuple, List import itertools @@ -242,7 +241,7 @@ async def setup_broadcast( end='', ) - if global_conf.debug: + if global_config.debug: bigs[f'big{0}']['iso_queue'].data_packet_queue.on('flow', on_flow) return bigs