Thank you for this repo, it's a terrific time saver. One issue I noticed:
if read_user_yes_no(folder['question'], default_value=u'no'):
if read_user_yes_no(folder['pre_hint'], default_value=u'no'):
Should be
if read_user_yes_no(folder['question'], default_value=u'no') == 'yes':
if read_user_yes_no(folder['pre_hint'], default_value=u'no') == 'yes':
Otherwise they always evaluate to true and we are still prompted for the values if we set the default to 'no'.
Thank you for this repo, it's a terrific time saver. One issue I noticed:
if read_user_yes_no(folder['question'], default_value=u'no'):
if read_user_yes_no(folder['pre_hint'], default_value=u'no'):
Should be
if read_user_yes_no(folder['question'], default_value=u'no') == 'yes':
if read_user_yes_no(folder['pre_hint'], default_value=u'no') == 'yes':
Otherwise they always evaluate to true and we are still prompted for the values if we set the default to 'no'.