From b2582f385fa24b86d08d1a3d5b2630c7194a8087 Mon Sep 17 00:00:00 2001
From: Administrator <admin@example.com>
Date: 星期五, 15 十二月 2023 16:12:33 +0800
Subject: [PATCH] bug修复

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

diff --git a/third_data/code_plate_key_manager.py b/third_data/code_plate_key_manager.py
index 02d72e3..c7e6f9d 100644
--- a/third_data/code_plate_key_manager.py
+++ b/third_data/code_plate_key_manager.py
@@ -573,10 +573,10 @@
             return True, False, f"銆恵block}銆戝墠鎺掍唬鐮侊細{current_shsz_rank}", is_strong_block
         else:
             # 鐪嬭嚜鐢辨祦閫氬競鍊兼槸鍚﹀皬浜�20浜�
-            if is_strong_block:
+            if is_strong_block and current_shsz_rank < len(current_open_limit_up_codes) + max_rank + 1:
                 zyltgb = global_util.zyltgb_map.get(code)
                 if zyltgb and zyltgb < 20 * 100000000:
-                    return True, False, f"銆恵block}銆戞定鍋滄暟閲忥紙{len(block_codes)}锛�>=4 鑷敱娴侀�氬競鍊�({zyltgb})灏忎簬20浜�", is_strong_block
+                    return True, False, f"銆恵block}銆戝己鍔挎澘鍧� 鑷敱娴侀�氬競鍊�({zyltgb})灏忎簬20浜�", is_strong_block
             return False, False, f"銆恵block}銆戝墠鎺掍唬鐮侊細{front_current_shsz_rank_codes} 瓒呰繃{len(current_open_limit_up_codes) + max_rank}涓�", is_strong_block
 
         # 杩囨椂鐨勪唬鐮�

--
Gitblit v1.8.0