Skip to content

Commit

Permalink
Always apply sort and limit of roll options
Browse files Browse the repository at this point in the history
  • Loading branch information
taldcroft committed Jun 22, 2020
1 parent 9f4d476 commit 76a931f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sparkles/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,9 +222,10 @@ def _run_aca_review(load_name=None, *, acars=None, make_html=True, report_dir=No
# stop looking for roll options.
if any(not roll_option['acar'].messages >= roll_level
for roll_option in aca.roll_options):
aca.sort_and_limit_roll_options(roll_level, max_roll_options)
break

aca.sort_and_limit_roll_options(roll_level, max_roll_options)

except Exception: # as err:
err = traceback.format_exc()
aca.add_message('critical', text=f'Running get_roll_options() failed: \n{err}')
Expand Down

0 comments on commit 76a931f

Please sign in to comment.