From 893a7a66b8a0d830a7c7426d7b28b504c26b1eba Mon Sep 17 00:00:00 2001 From: Lonami Exo Date: Wed, 4 Jul 2018 15:28:55 +0200 Subject: [PATCH] Also block when exporting authorization --- telethon/client/telegrambaseclient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telethon/client/telegrambaseclient.py b/telethon/client/telegrambaseclient.py index 02439a0f..5af5d070 100644 --- a/telethon/client/telegrambaseclient.py +++ b/telethon/client/telegrambaseclient.py @@ -393,7 +393,7 @@ class TelegramBaseClient(abc.ABC): req = self._init_with(functions.auth.ImportAuthorizationRequest( id=auth.id, bytes=auth.bytes )) - sender.send(req) + sender.send(req).result() return sender def _borrow_exported_sender(self, dc_id):