From cf6e0a6d7aecc84f147c803bc2c22741a1cc8f7a Mon Sep 17 00:00:00 2001 From: localhost_frssoft Date: Sun, 27 Nov 2022 22:44:44 +0300 Subject: [PATCH] Fix update states in scanning context thread --- src/listener_context.py | 1 + 1 file changed, 1 insertion(+) 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')