kopia lustrzana https://github.com/OpenDroneMap/WebODM
Merge pull request #706 from pierotofy/offbyonefix
Fix console output off-by-one errorpull/707/head
commit
0fcdc447f4
|
@ -561,7 +561,10 @@ class Task(models.Model):
|
|||
# Need to update status (first time, queued or running?)
|
||||
if self.uuid and self.status in [None, status_codes.QUEUED, status_codes.RUNNING]:
|
||||
# Update task info from processing node
|
||||
current_lines_count = len(self.console_output.split("\n"))
|
||||
if not self.console_output:
|
||||
current_lines_count = 0
|
||||
else:
|
||||
current_lines_count = len(self.console_output.split("\n"))
|
||||
|
||||
info = self.processing_node.get_task_info(self.uuid, current_lines_count)
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "WebODM",
|
||||
"version": "1.1.1",
|
||||
"version": "1.1.2",
|
||||
"description": "Open Source Drone Image Processing",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
|
Ładowanie…
Reference in New Issue