Skip to content

Commit 57496fe

Browse files
Fix voting explanation
1 parent 6e2fe0a commit 57496fe

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pycon_bot/modes/thunder.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,9 +599,11 @@ def private_voting(self, user):
599599
"""Explain how voting is done."""
600600

601601
# if there is a current group, use examples from that group
602-
examples = [92, 418]
602+
examples = []
603603
if self.current_group:
604604
examples = list(self.current_group.talk_ids)[0:1]
605+
if len(examples) != 2:
606+
examples = [92, 418]
605607

606608
# explain what voting paradigms I understand
607609
self.msg(user, 'I understand two voting paradigms:')

0 commit comments

Comments
 (0)