Skip to content
New issue

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

Update example main.py to handle 'n' input #91

Merged
merged 1 commit into from
Jan 3, 2024

Conversation

williamhpark
Copy link
Contributor

Overview

The example/main.py script currently doesn't properly accept n as an input when prompted with Would you like to delete the newly created item from your vault? (y/n)

Type of change

Bug fix

Related Issue(s)

N/A

How To Test

  1. Run the Python Connect SDK example
  2. When you see Would you like to delete the newly created item from your vault? (y/n), enter n

Current Behavior

Your answer should be either 'y' or 'n'. Would you like to delete the newly created item from your vault? (y/n) is continuously prompted, until y is entered.

New (Fixed) Behavior

The item is not deleted from the vault and the example script terminates. Both uppercase Y/N and lowercase y/n are accepted.

@volodymyrZotov volodymyrZotov merged commit 7ee0bb3 into main Jan 3, 2024
3 checks passed
@volodymyrZotov volodymyrZotov deleted the wpark/example-script-fix branch January 3, 2024 19:45
@github-actions github-actions bot mentioned this pull request Jan 5, 2024
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants