mirror of
https://gitea.phreedom.club/localhost_frssoft/FMN_bot
synced 2024-12-22 20:43:32 +02:00
Fix update states in scanning context thread
This commit is contained in:
parent
045ccccb44
commit
cf6e0a6d7a
1 changed files with 1 additions and 0 deletions
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue