Fix old bug from event class being renamed
- Legacy-Id: 3328
This commit is contained in:
parent
b7b813e698
commit
f87a378d5f
|
@ -310,7 +310,7 @@ def import_from_idinternal(d, idinternal):
|
|||
|
||||
found = False
|
||||
for p in positions:
|
||||
if not d.docevent_set.filter(type="changed_ballot_position", ballotposition__pos=position, ballotposition__ad=iesg_login_to_person(p.ad)):
|
||||
if not BallotPositionDocEvent.objects.filter(doc=d, type="changed_ballot_position", pos=position, ad=iesg_login_to_person(p.ad)):
|
||||
login = p.ad
|
||||
found = True
|
||||
break
|
||||
|
|
Loading…
Reference in a new issue