Skip to content

Commit

Permalink
docs: Add missing colon to README (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
jabertuhin authored Aug 22, 2022
1 parent f89792b commit faef24c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def http_requested_languages_total() -> Callable[[Info], None]:
def instrumentation(info: Info) -> None:
langs = set()
lang_str = info.request.headers["Accept-Language"]
for element in lang_str.split(",")
for element in lang_str.split(","):
element = element.split(";")[0].strip().lower()
langs.add(element)
for language in langs:
Expand Down

0 comments on commit faef24c

Please sign in to comment.