X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/82ef02cd1aec4c23b4ebe1c56c6dd2a47c65e0e6..861e67dfe848a9d322bdb2b7b89fb669f10ae731:/nominatim/cli.py diff --git a/nominatim/cli.py b/nominatim/cli.py index e28ff295..37bcaffb 100644 --- a/nominatim/cli.py +++ b/nominatim/cli.py @@ -336,7 +336,8 @@ class UpdateReplication: conn = connect(args.config.get_libpq_dsn()) start = dt.datetime.now(dt.timezone.utc) state = replication.update(conn, params) - status.log_status(conn, start, 'import') + if state is not replication.UpdateState.NO_CHANGES: + status.log_status(conn, start, 'import') batchdate, _, _ = status.get_status(conn) conn.close()