Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
aneisch committed Feb 3, 2024
1 parent 6db6d4b commit 77ba81d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions thermostat_api_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,8 @@ def on_message(client, userdata, message):
candidate_configuration["htsp"] = new_temperature.split(".")[0]

class MyHttpRequestHandler(BaseHTTPRequestHandler):
protocol_version = 'HTTP/1.1'

def log_message(self, format, *args):
logging.info(f"{self.address_string()} -- {self.command} -- {self.path}")

Expand Down

0 comments on commit 77ba81d

Please sign in to comment.