Unverified Commit 1bad8058 by Sven Marnach Committed by GitHub

Merge pull request #41 from jmbowman/jmbowman/TE-2583

Fix FailingEnforceTypeWarning in SurveyBlock
parents f4337d3a cfa7fb4e
......@@ -770,9 +770,9 @@ class SurveyBlock(PollBase, CSVExportMixin):
# but either way we want it to say 'Poll' by default on the page.
block_name = String(default=_('Poll'))
answers = List(
default=(
default=[
('Y', _('Yes')), ('N', _('No')),
('M', _('Maybe'))),
('M', _('Maybe'))],
scope=Scope.settings, help=_("Answer choices for this Survey")
)
questions = List(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment