diff --git a/server/shapes/tasks.py b/server/shapes/tasks.py index 679e774..5d9bdbe 100644 --- a/server/shapes/tasks.py +++ b/server/shapes/tasks.py @@ -19,7 +19,7 @@ @shared_task def fill_in_bbox_task(shape): """ Helper to fill in the potentially empty image_bbox field """ -. + photo = shape.photo.__class__.objects.get(id=shape.photo.id) image_bbox = mask_complex_polygon( image=open_image(photo.image_orig),