Skip to content

Commit

Permalink
fix broken f-string
Browse files Browse the repository at this point in the history
  • Loading branch information
n1kdo committed Jan 24, 2024
1 parent 3bdb35c commit 8e358d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/temperature/http_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ async def serve_http_client(self, reader, writer):
http_status = 418 # can only make tea, sorry.
bytes_sent = 0
partner = writer.get_extra_info('peername')[0]
logging.debug('web client connected from {partner}', 'http_server:serve_http_client')
logging.debug(f'web client connected from {partner}', 'http_server:serve_http_client')
request_line = await reader.readline()
request = request_line.decode().strip()
logging.debug(f'request: {request}', 'http_server:serve_http_client')
Expand Down

0 comments on commit 8e358d2

Please sign in to comment.