diff options
author | Daniel Schadt <kingdread@gmx.de> | 2022-12-10 17:54:21 +0100 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2022-12-10 17:54:21 +0100 |
commit | 650e5809e6cc986d87ce2e9f36169936d54c11fd (patch) | |
tree | 2499190eb8f7c6b6554daf39c2f3577989fccfc1 | |
parent | 0b2815a78b448cd6120438423447db99121d0b86 (diff) | |
download | fietsboek-650e5809e6cc986d87ce2e9f36169936d54c11fd.tar.gz fietsboek-650e5809e6cc986d87ce2e9f36169936d54c11fd.tar.bz2 fietsboek-650e5809e6cc986d87ce2e9f36169936d54c11fd.zip |
fix type hints for read_localized_resource
-rw-r--r-- | fietsboek/util.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/fietsboek/util.py b/fietsboek/util.py index 9269b67..a4f2891 100644 --- a/fietsboek/util.py +++ b/fietsboek/util.py @@ -277,7 +277,10 @@ def check_password_constraints(password: str, repeat_password: Optional[str] = N def read_localized_resource( - locale_name: str, path: str, locale_packages: List[str] = None, raise_on_error: bool = False + locale_name: str, + path: str, + locale_packages: Optional[List[str]] = None, + raise_on_error: bool = False, ) -> str: """Reads a localized resource. |