Commit b0cdc530 authored by Marcus's avatar Marcus

fix the defaults for the questionnaire again

parent 26922f9f
......@@ -104,8 +104,10 @@ class Question(Questionnaire):
"""
if default:
kwargs['defaults'] = {name: default}
else:
kwargs['defaults'] = {name: ''}
super().__init__(questions={name: text}, defaults={name: ''}, **kwargs)
super().__init__(questions={name: text}, **kwargs)
def raise_question(*args, **kwargs):
"""Convenice function needed in places where an expression is required.
......
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