From e9680308bd91bb112c29f03a1316a0fc49e1917a Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期一, 09 九月 2024 14:58:35 +0800 Subject: [PATCH] 一个板块扫入之后不能再次扫入 --- third_data/code_plate_key_manager.py | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/third_data/code_plate_key_manager.py b/third_data/code_plate_key_manager.py index c1a3c07..f293c8c 100644 --- a/third_data/code_plate_key_manager.py +++ b/third_data/code_plate_key_manager.py @@ -1211,7 +1211,8 @@ if _code in yesterday_limit_up_codes: continue # 鍓旈櫎鐐告澘浠g爜鎸佺画娑ㄥ仠鏃堕棿灏忎簬1鍒嗛挓鐨勪唬鐮� - if _code not in cls.__current_limit_up_codes and _code in cls.__total_limit_up_space_dict and cls.__total_limit_up_space_dict[_code] < 60: + if _code not in cls.__current_limit_up_codes and _code in cls.__total_limit_up_space_dict and \ + cls.__total_limit_up_space_dict[_code] < 60: continue # 浠g爜,娑ㄥ仠鏃堕棿 block_codes_infos.append((_code, int(k[5]))) @@ -1323,6 +1324,7 @@ # 鑾峰彇浠g爜鐨勬澘鍧� keys_, k1_, k11_, k2_, k3_, k4_ = cls.__TargetCodePlateKeyManager.get_plate_keys(code, contains_today=False) match_blocks = open_limit_up_blocks & keys_ + can_buy_blocks = set() fmsges = [] msges = [] -- Gitblit v1.8.0