mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-02-03 05:04:33 +03:00
Attempt at fixing socket is None on .connect()
This commit is contained in:
parent
6d60e83adc
commit
a992f42781
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user