Update opolka/ScoDoc from ScoDoc/ScoDoc #2

Merged
opolka merged 1272 commits from ScoDoc/ScoDoc:master into master 2024-05-27 09:11:04 +02:00
Showing only changes of commit dba48f32eb - Show all commits

View File

@ -745,7 +745,7 @@ def setGroups(
except ValueError:
log(f"setGroups: ignoring invalid group_id={group_id}")
continue
group: GroupDescr = GroupDescr.query.get(group_id)
group: GroupDescr = GroupDescr.query.get_or_404(group_id)
# Anciens membres du groupe:
old_members_set = {etud.id for etud in group.etuds}
# Place dans ce groupe les etudiants indiqués: