From 7e204a15d4274fd99504f55c128de33676190244 Mon Sep 17 00:00:00 2001 From: Confused Character <121636230+ConfusedCharacter@users.noreply.github.com> Date: Fri, 16 Feb 2024 20:20:24 +0330 Subject: [PATCH] Update telethon/network/connection/tcpmtproxy.py Co-authored-by: Lonami --- telethon/network/connection/tcpmtproxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telethon/network/connection/tcpmtproxy.py b/telethon/network/connection/tcpmtproxy.py index fbdf772a..316829c1 100644 --- a/telethon/network/connection/tcpmtproxy.py +++ b/telethon/network/connection/tcpmtproxy.py @@ -100,7 +100,7 @@ class TcpMTProxy(ObfuscatedConnection): def __init__(self, ip, port, dc_id, *, loggers, proxy=None, local_addr=None): # connect to proxy's host and port instead of telegram's ones proxy_host, proxy_port = self.address_info(proxy) - self._secret = TcpMTProxy.normilize_secret(proxy[2]) + self._secret = self.normalize_secret(proxy[2]) super().__init__( proxy_host, proxy_port, dc_id, loggers=loggers)