From b69b50c5cd94d5ca293a019d5a77da078f04f407 Mon Sep 17 00:00:00 2001 From: KimigaiiWuyi <444835641@qq.com> Date: Thu, 4 Apr 2024 22:45:58 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E4=BF=AE=E5=A4=8D=E4=BA=BA?= =?UTF-8?q?=E5=B0=91=E7=9A=84=E6=97=B6=E5=80=99`ba=E6=80=BB=E5=8A=9B?= =?UTF-8?q?=E6=88=98`=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BlueArchiveUID/bauid_raid/get_rank_data.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/BlueArchiveUID/bauid_raid/get_rank_data.py b/BlueArchiveUID/bauid_raid/get_rank_data.py index 57523ac..5ac23ba 100644 --- a/BlueArchiveUID/bauid_raid/get_rank_data.py +++ b/BlueArchiveUID/bauid_raid/get_rank_data.py @@ -52,7 +52,11 @@ async def get_ranking_from_xtzx( '120000', '200000', ]: - if rank in data['data'] and data["data"][rank]: + if ( + rank in data['data'] + and data["data"][rank] + and data["data"][rank][-1] + ): im_list.append(f'第{rank}名: {data["data"][rank][-1]:,}') # im_list.append('✅换源请发【总力战档位】')