Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Trygve Aspenes committed Oct 16, 2024
1 parent d05f5f0 commit c74259b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mapgen/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit c74259b

Please sign in to comment.