Skip to content

Commit

Permalink
Apply suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikmonsen committed Sep 14, 2023
1 parent 1683535 commit b49756d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def __init__(self) -> None:
)

@staticmethod
def get_languages() -> list[str] | None:
def get_languages() -> Optional[list[str]]:
if not get_settings().LANGUAGES:
return None
return get_settings().LANGUAGES.split(',')
Expand Down

0 comments on commit b49756d

Please sign in to comment.