From 6ac7c95a283d3442632f7f83e4bfee5326c450e4 Mon Sep 17 00:00:00 2001 From: bakatrouble Date: Sun, 28 Apr 2019 14:46:32 +0300 Subject: [PATCH] remove debug --- main.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/main.py b/main.py index 99c8ec2..966805e 100755 --- a/main.py +++ b/main.py @@ -268,8 +268,6 @@ 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 - sentry_sdk.capture_message(did) if d.mime_type == 'video/mp4': d.file_id = 'CgADAgAD-wIAAsWRKUpcsMl_cdwp3wI' r = bot.send_document(uid, d.file_id, d.file_name, caption, reply_to_message_id=reply_to_message_id,