From 6deebc1f495f89cd168021512aaeacb8e93ebae7 Mon Sep 17 00:00:00 2001
From: Administrator <admin@example.com>
Date: 星期四, 30 十一月 2023 18:22:41 +0800
Subject: [PATCH] bug修复

---
 third_data/code_plate_key_manager.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/third_data/code_plate_key_manager.py b/third_data/code_plate_key_manager.py
index b31f7f1..4615bc6 100644
--- a/third_data/code_plate_key_manager.py
+++ b/third_data/code_plate_key_manager.py
@@ -47,7 +47,7 @@
             blocks.sort(key=lambda x: x[2])
             blocks.reverse()
             for b in blocks:
-                if (b[2] > -1 or b[1] in current_limit_up_blocks) and b[1] not in constant.KPL_INVALID_BLOCKS:
+                if b[1] not in constant.KPL_INVALID_BLOCKS:
                     final_blocks.append(b)
             if len(final_blocks) < 2:
                 final_blocks = blocks

--
Gitblit v1.8.0