diff --git a/src/listener_context.py b/src/listener_context.py index 28d3389..41cc20c 100644 --- a/src/listener_context.py +++ b/src/listener_context.py @@ -40,6 +40,7 @@ def scan_context_thread(): time_now = int(time.time()) reserve_time = False while status_id is None or stop_thread_scan is None: + states = read_states() fail_limit = Counter() status_id = states.get('last_thread_id') stop_thread_scan = states.get('stop_thread_scan')