修复小问题

This commit is contained in:
c3b2a 2021-04-14 23:46:29 +08:00 committed by GitHub
parent 0d04b67924
commit c7ce065223
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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