Skip to content

Commit

Permalink
fix: job not created when updating ground truth
Browse files Browse the repository at this point in the history
  • Loading branch information
ervandagadzhanyan committed Sep 26, 2024
1 parent fb0756c commit fe22f8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jobs/jobs/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ async def convert_previous_jobs_for_inference(
result = []

for job in jobs_db:
if not job.files_ids:
if not job.files_ids or not job.all_files_data:
continue
converted_files_data = convert_files_data_for_inference(
job.all_files_data, job.id, current_tenant
Expand Down

0 comments on commit fe22f8b

Please sign in to comment.