Define nodeLoc (fixes #82)

This commit is contained in:
nanos 2023-09-07 08:43:10 +01:00
parent bed11e83f1
commit 95b644d431

View file

@ -1122,6 +1122,7 @@ def get_nodeinfo(server, seen_hosts, host_meta_fallback = False):
return None
if resp.status_code == 200:
nodeLoc = None
try:
nodeInfo = resp.json()
for link in nodeInfo['links']: