Skip to content

Commit

Permalink
fix: fix launch normalize barcode job
Browse files Browse the repository at this point in the history
  • Loading branch information
raphael0202 committed Oct 9, 2024
1 parent 08f7796 commit 65bdacb
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions robotoff/cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1068,15 +1068,15 @@ def launch_normalize_barcode_job(
prediction.save()
updated += 1

tsx.commit()
logger.info(
"Current ID: %s, Updated %d predictions", min_id, updated
)
if prediction is not None:
min_id = prediction.id
else:
break
logger.info("Updated %d predictions", updated)
tsx.commit()
logger.info(
"Current ID: %s, Updated %d predictions", min_id, updated
)
if prediction is not None:
min_id = prediction.id
else:
break
logger.info("Updated %d predictions", updated)

if launch_insight:
updated = 0
Expand Down

0 comments on commit 65bdacb

Please sign in to comment.