From 793a5e8c8c1b029df081551cfb0b27351db3ae30 Mon Sep 17 00:00:00 2001 From: Alex Kelly Date: Wed, 3 Nov 2021 15:51:05 -0400 Subject: [PATCH] fix: correct missing colon on try --- matrix_webhook/formatters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix_webhook/formatters.py b/matrix_webhook/formatters.py index 813b071..48deaee 100644 --- a/matrix_webhook/formatters.py +++ b/matrix_webhook/formatters.py @@ -60,7 +60,7 @@ def pingdom(data, headers): elif data["check_type"].lower() == "dns": # There are a bunch of values that are blanke when you do a test # so ignore them if value is unset - try + try: first_ip = data["first_probe"]["ip"] except KeyError: first_ip = "unknown"