Skip to content

Commit b8a5a3e

Browse files
committed
Flip source and target in Constraint import
- Legacy-Id: 3736
1 parent 1c0d859 commit b8a5a3e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

redesign/importing/import-meetings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -359,8 +359,8 @@ def get_timeslot(attr):
359359
for target in Group.objects.filter(acronym__in=conflicting_groups):
360360
Constraint.objects.get_or_create(
361361
meeting=s.meeting,
362-
source=target,
363-
target=s.group,
362+
source=s.group,
363+
target=target,
364364
name=conflict_constraints[i])
365365

366366

0 commit comments

Comments
 (0)