fix never retrieved timeout

This commit is contained in:
Jack Robison 2018-10-29 14:38:45 -04:00
parent 838823227b
commit 0b4c3cda8d
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -165,9 +165,8 @@ class Gateway:
] ]
while True: while True:
if not igd_args: if not igd_args:
m_search_args, datagram = await asyncio.wait_for( m_search_args, datagram = await fuzzy_m_search(
fuzzy_m_search(lan_address, gateway_address, timeout, loop, ignored, unicast), lan_address, gateway_address, timeout, loop, ignored, unicast
timeout
) )
else: else:
m_search_args = OrderedDict(igd_args) m_search_args = OrderedDict(igd_args)