Skip to content

Commit 283246a

Browse files
committed
Change connection mode
1 parent 82b8c77 commit 283246a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyrogram/connection/connection.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import logging
2121
from typing import Optional
2222

23-
from .transport import TCP, TCPAbridgedO
23+
from .transport import TCP, TCPAbridged
2424
from ..session.internals import DataCenter
2525

2626
log = logging.getLogger(__name__)
@@ -41,7 +41,7 @@ def __init__(self, dc_id: int, test_mode: bool, ipv6: bool, proxy: dict, media:
4141

4242
async def connect(self):
4343
for i in range(Connection.MAX_CONNECTION_ATTEMPTS):
44-
self.protocol = TCPAbridgedO(self.ipv6, self.proxy)
44+
self.protocol = TCPAbridged(self.ipv6, self.proxy)
4545

4646
try:
4747
log.info("Connecting...")

0 commit comments

Comments
 (0)