fix never retrieved timeout
This commit is contained in:
parent
838823227b
commit
0b4c3cda8d
1 changed files with 2 additions and 3 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue