From e7683f33f3fc0518e0fc18a583e81f6130b9687a Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Thu, 24 Feb 2022 15:30:48 +0100 Subject: adapt to change in hydrilla.util.translation() --- src/hydrilla/server/serve.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3