kopia lustrzana https://github.com/OpenDroneMap/WebODM
Merge pull request #1736 from pierotofy/orthomiss2
Avoid prematurely setting a task to completed statuspull/1739/head
commit
40433bc91f
|
|
@ -1028,6 +1028,7 @@ class Task(models.Model):
|
||||||
# and immediately reads them back into Python
|
# and immediately reads them back into Python
|
||||||
# This is required because GEOS screws up the X/Y conversion
|
# This is required because GEOS screws up the X/Y conversion
|
||||||
# from the raster CRS to 4326, whereas PostGIS seems to do it correctly :/
|
# from the raster CRS to 4326, whereas PostGIS seems to do it correctly :/
|
||||||
|
self.status = status_codes.RUNNING # avoid telling clients that task is completed prematurely
|
||||||
self.save()
|
self.save()
|
||||||
self.refresh_from_db()
|
self.refresh_from_db()
|
||||||
|
|
||||||
|
|
|
||||||
Ładowanie…
Reference in New Issue