From c74259b4fe0108a1814e24ad7e85dd47e4d9707f Mon Sep 17 00:00:00 2001 From: Trygve Aspenes Date: Wed, 16 Oct 2024 13:13:29 +0200 Subject: [PATCH] typo --- mapgen/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mapgen/main.py b/mapgen/main.py index 7aa4f06..60240a2 100644 --- a/mapgen/main.py +++ b/mapgen/main.py @@ -170,7 +170,7 @@ def do_GET(self): http_host = self.address_string() for h in str(self.headers).split('\n'): logging.debug(f"Header: {h}") - if h.startswith('X-Scheme') in h: + if h.startswith('X-Scheme'): try: url_scheme = h.split(" ")[1] except Exception: