Skip to content

Commit

Permalink
style: once more, with feeling!
Browse files Browse the repository at this point in the history
  • Loading branch information
nsprenkle committed Dec 20, 2023
1 parent ce668de commit 78f3251
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions openassessment/xblock/apis/workflow_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ def next_incomplete_step(self):

for next_step in [step["name"] for step in step_order]:
workflow_step_name = WorkflowStep(next_step).workflow_step_name
if (
status_details[workflow_step_name].get("complete", False) is False or
staticmethod[workflow_step_name].get("graded", False) is False
):
step_complete = status_details[workflow_step_name].get("complete", False)
step_graded = status_details[workflow_step_name].get("graded", False)

if step_complete is False or step_graded is False:
return workflow_step_name

return "done"
Expand Down

0 comments on commit 78f3251

Please sign in to comment.