From 2f0e919fd13118812810e29fc195c6949088d454 Mon Sep 17 00:00:00 2001 From: Syaro <91415593+NekoRabi@users.noreply.github.com> Date: Wed, 4 May 2022 19:53:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A9=E5=87=A4=E6=92=AD=E6=8A=A5=E9=80=BB?= =?UTF-8?q?=E8=BE=91=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/TenHouPlugin/TenHou.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/TenHouPlugin/TenHou.py b/plugin/TenHouPlugin/TenHou.py index 083aedf..ee8128b 100644 --- a/plugin/TenHouPlugin/TenHou.py +++ b/plugin/TenHouPlugin/TenHou.py @@ -93,8 +93,8 @@ def autoget_th_match() -> list: plname = re.sub(r"[(\d+\.\-)]", "", players) plname = plname.split(' ') players = players.split(' ') - for p in plname: - if p in playername: + for p in playername: + if p in plname: print(f"{datas}\n") cursor.execute( f"select * from paipu where player1 = '{players[0]}' and startTime = '{usetime['daytime']} {startTime}'")