This commit is contained in:
2024-05-04 17:42:02 +02:00
parent 65ab5656bb
commit c3b6952017
+1 -1
View File
@@ -75,7 +75,7 @@ def check_and_send_email():
# Retrieve the threshold settings from Alert_settings table
c.execute("SELECT MAX_HR, MAX_TEMP FROM alert_settings")
threshold = c.fetchone()
print(threshold)
if last_record:
# Extract HR and Temp values from the last record