mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-26 11:08:13 +00:00
Fixed setting tokenizer property
This commit is contained in:
committed by
Sarah Hoffmann
parent
59ae63e6f5
commit
c06f902398
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user