OP-2003 - added 0.0 when batch is in progress

FE is expecting 'progress' key
This commit is contained in:
Petr Kalis 2021-11-16 11:30:56 +01:00
parent 15ea66c8fb
commit c30e7e0838

View file

@ -32,7 +32,8 @@ def start_webpublish_log(dbcon, batch_id, user):
"batch_id": batch_id,
"start_date": datetime.now(),
"user": user,
"status": "in_progress"
"status": "in_progress",
"progress": 0.0
}).inserted_id