Skip to content

Commit 8570807

Browse files
committed
Fix "yes" calculation in needed_ballot_position (bug found by Robert Sparks).
- Legacy-Id: 4347
1 parent 7f5a86f commit 8570807

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/doc/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def needed_ballot_positions(doc, active_positions):
6060
recuse = [p for p in active_positions if p and p.pos_id == "recuse"]
6161

6262
answer = []
63-
if yes < 1:
63+
if len(yes) < 1:
6464
answer.append("Needs a YES.")
6565
if blocking:
6666
if blocking:

0 commit comments

Comments
 (0)