Add missing local_addr to proxy connection, bump version

Bug introduced by #1587.
This commit is contained in:
Lonami Exo 2020-10-22 10:13:29 +02:00
parent f450682a22
commit d9ddf8858e
2 changed files with 2 additions and 2 deletions

View File

@ -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])

View File

@ -1,3 +1,3 @@
# Versions should comply with PEP440.
# This line is parsed in setup.py:
__version__ = '1.17.0'
__version__ = '1.17.1'