diff options
author | Wojtek Kosior <koszko@koszko.org> | 2022-02-24 15:30:48 +0100 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2022-02-24 15:40:54 +0100 |
commit | e7683f33f3fc0518e0fc18a583e81f6130b9687a (patch) | |
tree | 6b4e7df4b1fbb5f994b78a5837e0001c03b49495 /src/hydrilla | |
parent | 7d45ef6cb28a33c744995722a96891bd1a44c973 (diff) | |
download | haketilo-hydrilla-e7683f33f3fc0518e0fc18a583e81f6130b9687a.tar.gz haketilo-hydrilla-e7683f33f3fc0518e0fc18a583e81f6130b9687a.zip |
adapt to change in hydrilla.util.translation()
Diffstat (limited to 'src/hydrilla')
-rw-r--r-- | src/hydrilla/server/serve.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hydrilla/server/serve.py b/src/hydrilla/server/serve.py index 32df0eb..db04e01 100644 --- a/src/hydrilla/server/serve.py +++ b/src/hydrilla/server/serve.py @@ -598,7 +598,7 @@ def start(malcontent_dir: Optional[str], hydrilla_project_url: Optional[str], lang = hydrilla_config.get('language') _ = console_gettext if lang is None else \ - util.translation(here / 'locales', [lang]).gettext + util.translation(here / 'locales', lang).gettext for opt in ('malcontent_dir', 'hydrilla_project_url', 'port', 'language'): if opt not in hydrilla_config: |