From 05879ebcc53494d893dd7b4056f96f11a830515f Mon Sep 17 00:00:00 2001 From: ZaneYork Date: Mon, 23 Sep 2024 17:18:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DBUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/dinner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dinner.py b/src/dinner.py index d7358ae..fa37830 100644 --- a/src/dinner.py +++ b/src/dinner.py @@ -93,7 +93,7 @@ def dinner_update(): print(user_agent_string) if not is_mobile_request(user_agent_string): abort(403) - if check_roll() != -1: + if check_roll() == -1: return make_response(json.dumps(dict(code=-1, data="来晚了,提交失败"))) user_menu = request.args.get('value').strip() nickname = request.args.get('nickname').strip()