Define nodeLoc (fixes #82)
This commit is contained in:
parent
bed11e83f1
commit
95b644d431
1 changed files with 1 additions and 0 deletions
|
@ -1122,6 +1122,7 @@ def get_nodeinfo(server, seen_hosts, host_meta_fallback = False):
|
||||||
return None
|
return None
|
||||||
|
|
||||||
if resp.status_code == 200:
|
if resp.status_code == 200:
|
||||||
|
nodeLoc = None
|
||||||
try:
|
try:
|
||||||
nodeInfo = resp.json()
|
nodeInfo = resp.json()
|
||||||
for link in nodeInfo['links']:
|
for link in nodeInfo['links']:
|
||||||
|
|
Loading…
Reference in a new issue