From 9ebd2f7097f7cd09d749f9a503fc5362fd0b05b0 Mon Sep 17 00:00:00 2001 From: bakatrouble Date: Sun, 28 Apr 2019 14:43:26 +0300 Subject: [PATCH] debug --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index ca3e24e..5ade8ad 100755 --- a/main.py +++ b/main.py @@ -268,8 +268,8 @@ def _process_message(bot: Bot, m: Message): reply_to_message_id=reply_to_message_id, parse_mode='html') elif hasattr(m, 'document') and m.document: d = m.document + did = d.file_id if d.mime_type == 'video/mp4': - print(d.file_id) d.file_id = 'CgADAgAD-wIAAsWRKUpVBG3sEsYrGgI' r = bot.send_document(uid, d.file_id, d.file_name, caption, reply_to_message_id=reply_to_message_id, parse_mode='html')