Commit 466fc06d authored by marcus.hardt's avatar marcus.hardt

Merge branch 'questionnaire-defaults' into 'master'

fix the defaults for the questionnaire again

See merge request !29
parents 26922f9f b0cdc530
......@@ -104,8 +104,10 @@ class Question(Questionnaire):
if default:
kwargs['defaults'] = {name: default}
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