X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/bc7f6209d83dcc161f093ce9907991facabb3491..2bd6c761b0e573189a03e8819c6db715eb711eb1:/nominatim/tools/check_database.py diff --git a/nominatim/tools/check_database.py b/nominatim/tools/check_database.py index e5cefe4f..7372a49f 100644 --- a/nominatim/tools/check_database.py +++ b/nominatim/tools/check_database.py @@ -163,7 +163,7 @@ def check_placex_table(conn: Connection, config: Configuration) -> CheckResult: return CheckState.FATAL, dict(config=config) -@_check(hint="""placex table has no data. Did the import finish sucessfully?""") +@_check(hint="""placex table has no data. Did the import finish successfully?""") def check_placex_size(conn: Connection, _: Configuration) -> CheckResult: """ Checking for placex content """ @@ -181,7 +181,7 @@ def check_tokenizer(_: Connection, config: Configuration) -> CheckResult: tokenizer = tokenizer_factory.get_tokenizer_for_db(config) except UsageError: return CheckState.FAIL, dict(msg="""\ - Cannot load tokenizer. Did the import finish sucessfully?""") + Cannot load tokenizer. Did the import finish successfully?""") result = tokenizer.check_database(config)