From cfb9f9a247b0442b414d64d63fd77bf4f73c9af9 Mon Sep 17 00:00:00 2001 From: PinLin Date: Mon, 14 Aug 2017 15:24:16 +0800 Subject: [PATCH] call fail_send --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 25ed934..0d0edf1 100644 --- a/bot.py +++ b/bot.py @@ -93,7 +93,7 @@ def on_chat(msg): if user.status == '上傳答案' or user.status == '查看題目': if user.check_online() == True: if msg['document']['file_size'] > 167770000: - pass + user.fail_send() else: user.send_answer('', msg['document']['file_id']) else: