Skip to content

Commit

Permalink
add set logic back around query in create_submission_for_team
Browse files Browse the repository at this point in the history
  • Loading branch information
muselesscreator committed Aug 21, 2020
1 parent 69b70d3 commit b085469
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions submissions/team_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,14 +138,14 @@ def create_submission_for_team(
'item_type': item_type
}

students_with_team_submissions = [
students_with_team_submissions = {
submission['student_id'] for submission in get_teammates_with_submissions_from_other_teams(
course_id,
item_id,
team_id,
team_member_ids
)
]
}
for team_member_id in team_member_ids:
if team_member_id in students_with_team_submissions:
continue
Expand Down

0 comments on commit b085469

Please sign in to comment.