save newly created maphistory instances so they don't get created again

This commit is contained in:
Laura Klünder 2017-11-19 13:22:23 +01:00
parent 6487d9d0e8
commit e51e00c63b

View file

@ -223,6 +223,7 @@ class MapHistory(GeometryIndexed):
if default_update is None:
default_update = MapUpdate.last_processed_update()
instance = cls(updates=[default_update], filename=filename)
instance.save()
return instance
@staticmethod