mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-07-31 10:19:48 +03:00
Update telethon/network/connection/tcpmtproxy.py
Co-authored-by: Lonami <totufals@hotmail.com>
This commit is contained in:
parent
524ef32d37
commit
7e204a15d4
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user