From 8d2caf86d249bad1906ce4db5072ade8af6d80d1 Mon Sep 17 00:00:00 2001 From: HackerNCoder Date: Sun, 26 Dec 2021 00:37:48 +0000 Subject: [PATCH] Fix a typo ) > ] --- relaystatus.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/relaystatus.py b/relaystatus.py index c5cdc19..b077feb 100644 --- a/relaystatus.py +++ b/relaystatus.py @@ -21,7 +21,7 @@ for new_relay in relays: if datetime.datetime.strptime(new_relay["first_seen"], "%Y-%m-%d %H:%M:%S") > (datetime.datetime.utcnow() - datetime.timedelta(hours=1)): exit = "no" eol = "no" - if not re.search("0.3.5|0.4.5|0.4.6|0.4.7", new_relay["platform"), re.IGNORECASE): + if not re.search("0.3.5|0.4.5|0.4.6|0.4.7", new_relay["platform"], re.IGNORECASE): eol = "yes" if new_relay["exit_policy"][0] != "reject *:*": exit = "yes"