]> git.openstreetmap.org Git - nominatim.git/commitdiff
Fixed setting tokenizer property
authorRobbe Haesendonck <googleit@inuits.eu>
Wed, 27 Sep 2023 14:32:28 +0000 (16:32 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Thu, 7 Dec 2023 08:04:33 +0000 (09:04 +0100)
nominatim/clicmd/setup.py

index 16c152a2a9cc89349453f1506ddbc119e2fae5ae..f9298aacc46ec392a868c77e042af109720b25e3 100644 (file)
@@ -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)