From bb2e450c9d0e9d42929ecd6030a1fb65b2034176 Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期五, 24 一月 2025 14:33:55 +0800 Subject: [PATCH] bug修复 --- third_data/code_plate_key_manager.py | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/third_data/code_plate_key_manager.py b/third_data/code_plate_key_manager.py index d48106f..1311472 100644 --- a/third_data/code_plate_key_manager.py +++ b/third_data/code_plate_key_manager.py @@ -277,7 +277,6 @@ def list_all_deleted_cache(self): return self.__deleted_kpl_forbidden_plates_cache - def is_in_cache(self, plate): if self.__kpl_forbidden_plates_cache and plate in self.__kpl_forbidden_plates_cache: return True @@ -495,6 +494,12 @@ cls.__market_strong = strong @classmethod + def is_ignore_block_in_money(cls): + if cls.__market_strong and cls.__market_strong >= constant.IGNORE_BLOCK_IN_MONEY_MARKET_STRONG: + return True + return False + + @classmethod def get_market_strong(cls): return cls.__market_strong -- Gitblit v1.8.0