Skip to content

Commit

Permalink
one more cutout problem
Browse files Browse the repository at this point in the history
  • Loading branch information
djones1040 committed Apr 30, 2024
1 parent 4763792 commit a658993
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/host/host_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ def select_cutout_aperture(cutouts, choice=0):


def select_aperture(transient):
cutouts = Cutout.objects.filter(transient=transient)
cutouts = Cutout.objects.filter(transient=transient).filter(~Q(fits=""))
if len(cutouts):
cutout_for_aperture = select_cutout_aperture(cutouts)
if len(cutouts) and len(cutout_for_aperture):
Expand Down

0 comments on commit a658993

Please sign in to comment.