diff --git a/memberbot/chat_voting.py b/memberbot/chat_voting.py index c0cfe75..39d5f73 100644 --- a/memberbot/chat_voting.py +++ b/memberbot/chat_voting.py @@ -253,28 +253,28 @@ def send(self, template, **data): ' Would you like to recast your votes? (yes/no)') html = ('
You have already participated in this election.' ' Would you like to recast your votes? (' - 'yes /' - ' no)
') + ' yes /' + ' no )') html = html.format(self.xmpp.boundjid) elif template == 'resume_voting': text = ('You started voting, but have not finished.' ' Would you like to resume voting? (yes/no)') html = ('You started voting, but have not finished.' ' Would you like to resume voting? (' - 'yes /' - ' no)
') + ' yes /' + ' no )') html = html.format(self.xmpp.boundjid) elif template == 'start_voting': text = 'Would you like to cast your votes now? (yes/no)' html = ('') + ' yes /' + ' no )') html = html.format(self.xmpp.boundjid) elif template == 'approve_candidate': text = 'Approve? (yes/no)' html = ('') + ' yes /' + ' no )') html = html.format(self.xmpp.boundjid) elif template == 'ballot_section': text = '%s:' % data['title']