removed old non used code

This commit is contained in:
crp3844
2022-09-07 15:25:00 -04:00
parent e249901af1
commit 892e8548b9

View File

@@ -425,15 +425,3 @@ if __name__ == "__main__":
print("This value must be one of the following characters: e, n, d, q.")
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")