X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/cf98cff2a166eb35ed2c946e03f1610069bdd1d4..6eb1113dcb569f07367a801e6ac2dcb9565ec7b8:/nominatim/tools/check_database.py diff --git a/nominatim/tools/check_database.py b/nominatim/tools/check_database.py index d116554f..3640197b 100644 --- a/nominatim/tools/check_database.py +++ b/nominatim/tools/check_database.py @@ -1,3 +1,9 @@ +# SPDX-License-Identifier: GPL-2.0-only +# +# This file is part of Nominatim. (https://nominatim.org) +# +# Copyright (C) 2022 by the Nominatim developer community. +# For a full list of authors see the git log. """ Collection of functions that check if the database is complete and functional. """ @@ -166,7 +172,7 @@ def check_tokenizer(_, config): return CheckState.FAIL, dict(msg="""\ Cannot load tokenizer. Did the import finish sucessfully?""") - result = tokenizer.check_database() + result = tokenizer.check_database(config) if result is None: return CheckState.OK