Skip to content

Commit

Permalink
roll state
Browse files Browse the repository at this point in the history
  • Loading branch information
rob committed Jul 4, 2023
1 parent 5ec7b37 commit 71269b6
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions sysproduction/interactive_update_roll_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -545,16 +545,18 @@ def manually_update_roll_state_for_code(
print(
"No specific state suggested: recommend one of Force, Force_Outright or Close)"
)
roll_state_required = get_roll_state_required(roll_data)
default_state = roll_data.original_roll_status
else:
roll_state_suggested_str = roll_state_suggested.name
print(
"Suggested roll state based on roll parameters in config: %s"
% roll_state_suggested_str
)
roll_state_required = get_roll_state_required(
roll_data, default_state=roll_state_suggested_str
)
default_state = roll_state_suggested_str

roll_state_required = get_roll_state_required(
roll_data, default_state=default_state
)

modify_roll_state(
data=data,
Expand Down

0 comments on commit 71269b6

Please sign in to comment.