kopia lustrzana https://github.com/OpenDroneMap/WebODM
running progress logic fix
rodzic
8408ccbecd
commit
94a41a3a02
|
@ -572,8 +572,8 @@ class Task(models.Model):
|
|||
if len(info.output) > 0:
|
||||
self.console_output += "\n".join(info.output) + '\n'
|
||||
|
||||
# Update running progress
|
||||
self.running_progress = (info.progress / 100.0) * self.TASK_PROGRESS_LAST_VALUE
|
||||
# Update running progress
|
||||
self.running_progress = (info.progress / 100.0) * self.TASK_PROGRESS_LAST_VALUE
|
||||
|
||||
if info.last_error != "":
|
||||
self.last_error = info.last_error
|
||||
|
|
Ładowanie…
Reference in New Issue