@ -20,7 +20,7 @@ for new_relay in relays:
exit = "no"
eol = "no"
contact = ""
if "contact" in relay:
if "contact" in new_relay:
test = re.search("([a-zA-Z0-9_.+-]+(\[\]|\@|at)[a-zA-Z0-9-.]+\.[a-zA-Z0-9-.]+)", relay["contact"], re.IGNORECASE)
if test:
contact = ", contact: " + test.group(1)