made lan port identification faster
parent
1e76990d1e
commit
5b9bb2e5e2
|
@ -37,7 +37,7 @@ def _lan_work(peer: LANIP):
|
|||
break
|
||||
if identified_port.port != 0:
|
||||
break
|
||||
if requests.get(f'http://{peer}/:{i}/ping') == 'pong!':
|
||||
if requests.get(f'http://{peer}:{i}/ping') == 'pong!':
|
||||
identified_port.port = i
|
||||
break
|
||||
|
||||
|
|
Loading…
Reference in New Issue