]> git.openstreetmap.org Git - nominatim.git/blobdiff - nominatim/tools/replication.py
ignore failure to get replication date
[nominatim.git] / nominatim / tools / replication.py
index cb201b1ef965a5d3801f4132da6f41570720ea75..a3ef84fef7214c7e865d4e9b6af539bc7e5d9f6e 100644 (file)
@@ -119,6 +119,7 @@ def update(conn, options):
 
     # Write the current status to the file
     endstate = repl.get_state_info(endseq)
-    status.set_status(conn, endstate.timestamp, seq=endseq, indexed=False)
+    status.set_status(conn, endstate.timestamp if endstate else None,
+                      seq=endseq, indexed=False)
 
     return UpdateState.UP_TO_DATE