From d706dbe7b0b772662c063b730550631c8e10c71a Mon Sep 17 00:00:00 2001 From: LiemCH Date: Mon, 10 Oct 2016 13:55:45 +0700 Subject: [PATCH] Update mtproto_sender.py Adding return in line 312 --- telethon/network/mtproto_sender.py | 1 + 1 file changed, 1 insertion(+) diff --git a/telethon/network/mtproto_sender.py b/telethon/network/mtproto_sender.py index 645cc07b..fbc1e8e4 100755 --- a/telethon/network/mtproto_sender.py +++ b/telethon/network/mtproto_sender.py @@ -309,6 +309,7 @@ class MtProtoSender: # Server send another same reply. # So We ignore it and continue on updates thread print('Cannot receive a request from inside an RPC result from the updates thread.') + return if inner_code == 0x3072cfa1: # GZip packed unpacked_data = gzip.decompress(reader.tgread_bytes())