From 520a26aa89db86b0ebb8949bfd6b834cc0371401 Mon Sep 17 00:00:00 2001 From: Alexander Bersenev Date: Sun, 8 Jul 2018 23:52:57 +0500 Subject: [PATCH] fix typo --- mtprotoproxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mtprotoproxy.py b/mtprotoproxy.py index cbaaec1..74b4654 100755 --- a/mtprotoproxy.py +++ b/mtprotoproxy.py @@ -604,7 +604,7 @@ async def open_connection_tryer(addr, port, limit, timeout, max_attempts=3): # the last attempt task = asyncio.open_connection(addr, port, limit=limit) reader_tgt, writer_tgt = await asyncio.wait_for(task, timeout=timeout) - return reader_tgt, writer_tgts + return reader_tgt, writer_tgt async def do_direct_handshake(proto_tag, dc_idx, dec_key_and_iv=None):