This commit is contained in:
nanos 2023-08-18 08:00:04 +01:00
parent a76b52642d
commit 31f475dcdd

View file

@ -1154,7 +1154,7 @@ def get_nodeinfo(server, seen_hosts, host_meta_fallback = False):
# return early if the web domain has been seen previously (in cases with host-meta lookups) # return early if the web domain has been seen previously (in cases with host-meta lookups)
if server in seen_hosts: if server in seen_hosts:
return seen_hosts[server] return seen_hosts.get(server)
try: try:
resp = get(nodeLoc, timeout = 30) resp = get(nodeLoc, timeout = 30)