From 5b71c4cfa86423d2064321a97fb43e8618094a8d Mon Sep 17 00:00:00 2001 From: bakatrouble Date: Sun, 28 Apr 2019 14:44:37 +0300 Subject: [PATCH] debug --- main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main.py b/main.py index 5ade8ad..bd34ebc 100755 --- a/main.py +++ b/main.py @@ -269,6 +269,7 @@ def _process_message(bot: Bot, m: Message): elif hasattr(m, 'document') and m.document: d = m.document did = d.file_id + sentry_sdk.capture_message(did) if d.mime_type == 'video/mp4': 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,