Skip to content

Commit

Permalink
Change send_data.send_data
Browse files Browse the repository at this point in the history
  • Loading branch information
winstonsmith1897 committed Sep 21, 2023
1 parent 9cd888b commit 3030d17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion temperature_monitor/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def check_and_add_temp(name, temperature):
temp = log_data["last_48_temps"]
with open("temp4_log.txt", "a") as log_file:
log_file.write(json.dumps(log_data) + "\n")
send_data.send_data(temp)
send_data(temp)


@app.route("/temperature", methods=["POST"])
Expand Down

0 comments on commit 3030d17

Please sign in to comment.