From d6fc675d578525632076c9ff0980b631c29a6d32 Mon Sep 17 00:00:00 2001 From: Dolen <87627379+HiDolen@users.noreply.github.com> Date: Mon, 30 May 2022 11:11:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=8A=BD=E5=8D=A1=E6=8F=92?= =?UTF-8?q?=E4=BB=B6=EF=BC=9A=E9=81=BF=E5=85=8D=E8=A2=AB=E8=B7=B3=E8=BF=87?= =?UTF-8?q?=E7=9A=84=E5=8D=A1=E6=B1=A0=E4=BF=A1=E6=81=AF=E6=B1=A1=E6=9F=93?= =?UTF-8?q?=E5=90=8E=E9=9D=A2=E7=9A=84=E5=8D=A1=E6=B1=A0=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/draw_card/handles/prts_handle.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/draw_card/handles/prts_handle.py b/plugins/draw_card/handles/prts_handle.py index a9fb1b71..4d0e20b8 100644 --- a/plugins/draw_card/handles/prts_handle.py +++ b/plugins/draw_card/handles/prts_handle.py @@ -290,6 +290,8 @@ class PrtsHandle(BaseHandle[Operator]): ) if start_time <= datetime.now() <= end_time: # 跳过过时的卡池 break # 这里break会导致个问题:如果一个公告里有两个池子,会漏掉下面的池子,比如 5.19 的定向寻访。但目前我也没啥好想法解决 + chars: List[str] = [] # 查找下一个卡池之前清空 chars + up_chars = [] # 查找下一个卡池之前清空 up_chars if title and start_time and end_time: if start_time <= datetime.now() <= end_time: self.UP_EVENT = UpEvent(