Unverified Commit add89e14 by Matjaz Gregoric Committed by GitHub

Merge pull request #42 from doctoryes/jeskew/fix_field_warning

Fix frequent warning.
parents 1bad8058 07e67927
......@@ -771,8 +771,10 @@ class SurveyBlock(PollBase, CSVExportMixin):
block_name = String(default=_('Poll'))
answers = List(
default=[
('Y', _('Yes')), ('N', _('No')),
('M', _('Maybe'))],
('Y', _('Yes')),
('N', _('No')),
('M', _('Maybe'))
],
scope=Scope.settings, help=_("Answer choices for this Survey")
)
questions = List(
......
......@@ -44,7 +44,7 @@ def package_data(pkg, roots):
setup(
name='xblock-poll',
version='1.5.0',
version='1.5.1',
description='An XBlock for polling users.',
packages=[
'poll',
......
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