diff --git a/tasks/task_runners.py b/tasks/task_runners.py index 423380275..0737b99d0 100644 --- a/tasks/task_runners.py +++ b/tasks/task_runners.py @@ -253,6 +253,8 @@ def finish_task(name, created_files=None, response_back=None, planet_file=False) for file in created_files: total_bytes += file.size() task.filesize_bytes = total_bytes + LOG.debug(total_bytes) + task.save() is_hdx_export = HDXExportRegion.objects.filter(job_id=run.job_id).exists()