From 7cc0ee36fac87273ee597211978fdb71d44e9aa7 Mon Sep 17 00:00:00 2001 From: Ruben van de Ven Date: Sun, 17 Oct 2021 10:25:42 +0200 Subject: [PATCH] Too new python --- sorteerhoed/webserver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sorteerhoed/webserver.py b/sorteerhoed/webserver.py index ace4874..2543afc 100644 --- a/sorteerhoed/webserver.py +++ b/sorteerhoed/webserver.py @@ -248,7 +248,7 @@ class ConfigWebSocketHandler(tornado.websocket.WebSocketHandler): parsed_origin = urlparse(origin) # parsed_origin.netloc.lower() gives localhost:3333 valid = any([parsed_origin.hostname.endswith(origin) for origin in self.CORS_ORIGINS]) - logger.info(f"Connection from {origin} is valid? {valid=}") + logger.info(f"Connection from {origin} is valid? valid: {valid}") return valid # the client connected