From c7ce065223641a49ab8a99624658d7559181f8b2 Mon Sep 17 00:00:00 2001 From: c3b2a <62082214+c3b2a@users.noreply.github.com> Date: Wed, 14 Apr 2021 23:46:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=B0=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- keyword.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyword.py b/keyword.py index 65dc91f..c91fdcc 100644 --- a/keyword.py +++ b/keyword.py @@ -66,7 +66,7 @@ def validate(user_id: str, mode: int, user_list: list): def validsent(trig: int, tmp): if tmp: - return tmp.get("trig", "0") + return int(tmp.get("trig", "0")) else: return trig