mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-05 03:22:29 +00:00
Attempt at fixing socket is None on .connect()
This commit is contained in:
@@ -43,7 +43,7 @@ class TcpClient:
|
||||
|
||||
while True:
|
||||
try:
|
||||
if not self._socket:
|
||||
while not self._socket:
|
||||
self._recreate_socket(mode)
|
||||
|
||||
self._socket.connect(address)
|
||||
|
Reference in New Issue
Block a user