From d421d91c9f6b108232c34003431e18dd89acbbd5 Mon Sep 17 00:00:00 2001 From: Neustradamus <104737+Neustradamus@users.noreply.github.com> Date: Fri, 12 Jun 2020 22:18:48 +0200 Subject: [PATCH] (yes / no) -> ( yes / no ) in HTML (yes / no) -> ( yes / no ) in HTML --- memberbot/chat_voting.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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 = ('

Would you like to cast your votes now? (' - 'yes /' - ' no)

') + ' yes /' + ' no )

') html = html.format(self.xmpp.boundjid) elif template == 'approve_candidate': text = 'Approve? (yes/no)' html = ('

Approve? (' - 'yes /' - ' no)

') + ' yes /' + ' no )

') html = html.format(self.xmpp.boundjid) elif template == 'ballot_section': text = '%s:' % data['title']