From 4c34ac570f32383c5aa9196328847019473b73a4 Mon Sep 17 00:00:00 2001 From: Dolen <87627379+HiDolen@users.noreply.github.com> Date: Sun, 29 May 2022 23:13:36 +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=E6=96=B9=E8=88=9F=E6=9B=B4=E6=96=B0UP?= =?UTF-8?q?=E6=B1=A0=E4=BF=A1=E6=81=AF=E6=97=B6=EF=BC=8C=E8=8B=A5=E5=85=AC?= =?UTF-8?q?=E5=91=8A=E7=9A=84=E7=AC=AC=E4=B8=80=E4=B8=AA=E6=B1=A0=E5=AD=90?= =?UTF-8?q?=E8=BF=87=E6=9C=9F=E4=BC=9A=E5=AF=BC=E8=87=B4=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E6=9B=B4=E6=96=B0UP=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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/draw_card/handles/prts_handle.py b/plugins/draw_card/handles/prts_handle.py index 60d90702..a9fb1b71 100644 --- a/plugins/draw_card/handles/prts_handle.py +++ b/plugins/draw_card/handles/prts_handle.py @@ -288,7 +288,8 @@ class PrtsHandle(BaseHandle[Operator]): up_chars.append( UpChar(name=name, star=star, limited=False, zoom=zoom) ) - break # 这里break会导致个问题:如果一个公告里有两个池子,会漏掉下面的池子,比如 5.19 的定向寻访。但目前我也没啥好想法解决 + if start_time <= datetime.now() <= end_time: # 跳过过时的卡池 + break # 这里break会导致个问题:如果一个公告里有两个池子,会漏掉下面的池子,比如 5.19 的定向寻访。但目前我也没啥好想法解决 if title and start_time and end_time: if start_time <= datetime.now() <= end_time: self.UP_EVENT = UpEvent(