diff --git a/telethon/network/connection/tcpmtproxy.py b/telethon/network/connection/tcpmtproxy.py index f034dfbe..69a43bce 100644 --- a/telethon/network/connection/tcpmtproxy.py +++ b/telethon/network/connection/tcpmtproxy.py @@ -95,7 +95,7 @@ class TcpMTProxy(ObfuscatedConnection): obfuscated_io = MTProxyIO # noinspection PyUnusedLocal - def __init__(self, ip, port, dc_id, *, loggers, proxy=None): + 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 = bytes.fromhex(proxy[2]) diff --git a/telethon/version.py b/telethon/version.py index e7b5b149..021d5625 100644 --- a/telethon/version.py +++ b/telethon/version.py @@ -1,3 +1,3 @@ # Versions should comply with PEP440. # This line is parsed in setup.py: -__version__ = '1.17.0' +__version__ = '1.17.1'