aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar JustAnotherArchivist2020-09-08 01:42:40 +0000
committerGravatar JustAnotherArchivist2020-09-08 01:42:40 +0000
commite8b54c6ec0331c4fc87dfbb9685a120c13cb4ca2 (patch)
tree700a78a25d04d210d90cb098f29d30530abc3e3c
parentLog exception type on process errors (diff)
signature
Fix missing f-string marker
-rw-r--r--http2irc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/http2irc.py b/http2irc.py
index 461cd2f..d14d8cb 100644
--- a/http2irc.py
+++ b/http2irc.py
@@ -717,7 +717,7 @@ class WebServer:
elif message.endswith('\n'):
message = message[:-1]
if '\r' in message or '\n' in message:
- self.logger.info('Bad request {id(request)}: linebreaks in message')
+ self.logger.info(f'Bad request {id(request)}: linebreaks in message')
raise aiohttp.web.HTTPBadRequest()
return message