Commit e4d32e7f by Eric Fischer Committed by GitHub

Merge pull request #14245 from edx/efischer/none_sub_score

Submissions scores can be too quick
parents 74302e3b 03356775
......@@ -135,6 +135,9 @@ def _has_database_updated_with_new_score(
"item_type": "openassessment"
}
)
if api_score is None:
# Same case as the initial 'if' above, for submissions-specific scores
return score_deleted
reported_modified_time = api_score.created_at
else:
reported_modified_time = score.modified
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment