From 8b51d63f641a5d7b2facc18c0941f581ce9d7974 Mon Sep 17 00:00:00 2001 From: William Moore Date: Thu, 16 Dec 2021 16:18:00 -0600 Subject: [PATCH] Fix JSON --- temperato.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/temperato.py b/temperato.py index 7cc9d00..b92bc91 100644 --- a/temperato.py +++ b/temperato.py @@ -34,7 +34,7 @@ class tempThread (threading.Thread): temp = sensor.temperature print(temp) if temp > set_point: - requests.post(os.environ.get('NOTIF_URL'), data={'message': 'The water is too damn hot!', 'title': 'Water temperature', 'priority', 9}, timeout=5) + requests.post(os.environ.get('NOTIF_URL'), data={'message': 'The water is too damn hot!', 'title': 'Water temperature', 'priority': 9}, timeout=5) time.sleep(5) T_thread = tempThread()