Merge pull request #14245 from edx/efischer/none_sub_score
Submissions scores can be too quick
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user