diff --git a/bitwardenBackup.py b/bitwardenBackup.py index ff9c0d8..650c5d6 100644 --- a/bitwardenBackup.py +++ b/bitwardenBackup.py @@ -349,14 +349,14 @@ if __name__ == "__main__": client.close() sys.exit(0) - print("Which account would you like to edit:") - for i in range(0, len(accounts)): - pretty_number = i + 1 - print("{}) {}".format(pretty_number, accounts[i])) - while True: - account_to_edit = int(input("Please enter number relating to the account you wish to edit: ")) - 1 - try: - print("selected account: {}".format(accounts[account_to_edit])) - break - except IndexError as error: - print("you entered a number out of range, please try again") + print("Which account would you like to edit:") + for i in range(0, len(accounts)): + pretty_number = i + 1 + print("{}) {}".format(pretty_number, accounts[i])) + while True: + account_to_edit = int(input("Please enter number relating to the account you wish to edit: ")) - 1 + try: + print("selected account: {}".format(accounts[account_to_edit])) + break + except IndexError as error: + print("you entered a number out of range, please try again")