We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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'.
The text was updated successfully, but these errors were encountered:
I'll look into it since it is an inverted dependency so maybe they change the functionality. I'll assume It's just me making bugs.
thanks!! I'm really grateful that it helps
Sorry, something went wrong.
No branches or pull requests
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'.
The text was updated successfully, but these errors were encountered: