made lan port identification faster

This commit is contained in:
Kevin 2020-06-17 00:29:03 -05:00
parent 1e76990d1e
commit 5b9bb2e5e2

View File

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