From: Robbe Haesendonck Date: Wed, 27 Sep 2023 14:32:28 +0000 (+0200) Subject: Fixed setting tokenizer property X-Git-Tag: v4.4.0~50 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/c06f9023982df26ae70da45e68e6f601c66ec8e2 Fixed setting tokenizer property --- diff --git a/nominatim/clicmd/setup.py b/nominatim/clicmd/setup.py index 16c152a2..f9298aac 100644 --- a/nominatim/clicmd/setup.py +++ b/nominatim/clicmd/setup.py @@ -208,7 +208,7 @@ class SetupAll: """ from ..tokenizer import factory as tokenizer_factory - if continue_at is None or continue_at == 'load-data': + if continue_at in ('import-from-file', 'load-data', None): # (re)initialise the tokenizer data return tokenizer_factory.create_tokenizer(config)