From 0ba5eaffb6be12bc52ab50444bcc3046ba0729e5 Mon Sep 17 00:00:00 2001 From: William Moore Date: Thu, 3 Mar 2022 14:11:15 -0600 Subject: [PATCH] Remove unnecessary logging. --- temperato.py | 1 - 1 file changed, 1 deletion(-) diff --git a/temperato.py b/temperato.py index 981f4f9..ba3df59 100644 --- a/temperato.py +++ b/temperato.py @@ -35,7 +35,6 @@ class tempThread (threading.Thread): while True: temp = sensor.temperature if temp >= set_point: - print('Bearer ' + os.environ.get('ACCESS_TOKEN')) print(requests.post(os.environ.get('NOTIF_URL'), headers={'Content-Type': 'application/json', 'Authorization': 'Bearer ' + os.environ.get('ACCESS_TOKEN')}, data=json.dumps({'message': '@all ' + os.environ.get('MESSAGE'), 'channel_id': os.environ.get('CHANNEL_ID')}), timeout=5)) time.sleep(sleep_timer)