Fix "yes" calculation in needed_ballot_position (bug found by Robert Sparks).
- Legacy-Id: 4347
This commit is contained in:
parent
7f5a86f5dd
commit
85708073f0
|
@ -60,7 +60,7 @@ def needed_ballot_positions(doc, active_positions):
|
|||
recuse = [p for p in active_positions if p and p.pos_id == "recuse"]
|
||||
|
||||
answer = []
|
||||
if yes < 1:
|
||||
if len(yes) < 1:
|
||||
answer.append("Needs a YES.")
|
||||
if blocking:
|
||||
if blocking:
|
||||
|
|
Loading…
Reference in a new issue