aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: