Skip to content

Commit

Permalink
Add missing ":"
Browse files Browse the repository at this point in the history
  • Loading branch information
jabertuhin authored May 17, 2021
1 parent 3bedd54 commit e122c71
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 @@ -197,7 +197,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 e122c71

Please sign in to comment.