Skip to content

Commit

Permalink
fix missing f-string
Browse files Browse the repository at this point in the history
  • Loading branch information
n1kdo committed Jan 24, 2024
1 parent d481d66 commit 44663cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kpa500-remote/http_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,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 44663cd

Please sign in to comment.