save newly created maphistory instances so they don't get created again
This commit is contained in:
parent
6487d9d0e8
commit
e51e00c63b
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue