From abadf3c7893b0c31d199436d5825fe9bb20f4d98 Mon Sep 17 00:00:00 2001 From: Lonami Exo Date: Thu, 21 Feb 2019 10:43:31 +0100 Subject: [PATCH] Provide a blanket implementation for _init_conn --- telethon/network/connection/connection.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/telethon/network/connection/connection.py b/telethon/network/connection/connection.py index 747fa8de..ad857d60 100644 --- a/telethon/network/connection/connection.py +++ b/telethon/network/connection/connection.py @@ -173,7 +173,6 @@ class Connection(abc.ABC): except asyncio.CancelledError: break - @abc.abstractmethod def _init_conn(self): """ This method will be called after `connect` is called. @@ -183,7 +182,6 @@ class Connection(abc.ABC): data to Telegram to indicate which connection mode will be used. """ - raise NotImplemented @abc.abstractmethod def _send(self, data):