summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-02-24 15:30:48 +0100
committerWojtek Kosior <koszko@koszko.org>2022-02-24 15:40:54 +0100
commite7683f33f3fc0518e0fc18a583e81f6130b9687a (patch)
tree6b4e7df4b1fbb5f994b78a5837e0001c03b49495 /src
parent7d45ef6cb28a33c744995722a96891bd1a44c973 (diff)
downloadhaketilo-hydrilla-e7683f33f3fc0518e0fc18a583e81f6130b9687a.tar.gz
haketilo-hydrilla-e7683f33f3fc0518e0fc18a583e81f6130b9687a.zip
adapt to change in hydrilla.util.translation()
Diffstat (limited to 'src')
-rw-r--r--src/hydrilla/server/serve.py2
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: