Skip to content

Commit f87a378

Browse files
committed
Fix old bug from event class being renamed
- Legacy-Id: 3328
1 parent b7b813e commit f87a378

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

redesign/importing/import-document-state.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ def import_from_idinternal(d, idinternal):
310310

311311
found = False
312312
for p in positions:
313-
if not d.docevent_set.filter(type="changed_ballot_position", ballotposition__pos=position, ballotposition__ad=iesg_login_to_person(p.ad)):
313+
if not BallotPositionDocEvent.objects.filter(doc=d, type="changed_ballot_position", pos=position, ad=iesg_login_to_person(p.ad)):
314314
login = p.ad
315315
found = True
316316
break

0 commit comments

Comments
 (0)