From b49756dae23c48b030cee440b66bb7ed8db9bc73 Mon Sep 17 00:00:00 2001 From: Fredrik Monsen Date: Thu, 14 Sep 2023 09:39:45 +0200 Subject: [PATCH] Apply suggestions --- src/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util.py b/src/util.py index 315b918..97d5d88 100644 --- a/src/util.py +++ b/src/util.py @@ -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(',')