changed input layout

This commit is contained in:
Ryan Bakkes 2023-11-09 09:57:43 +01:00
parent 20361590ff
commit 0707f667f1
2 changed files with 2 additions and 3 deletions

View File

@ -102,7 +102,7 @@ class User:
while True:
print('Are you sure you want to delete this account? (y/n)\n(this will burn all coins available in this account) (y/n)')
confirm = input('> ')
confirm = input('>>: ')
if confirm == 'y' or confirm == 'Y':
print('Deleting account..')
break

View File

@ -159,7 +159,6 @@ class MenuHelper:
case "Check balance":
print(f"Your balance is: {taskHelper.getBalance(self)}")
case "Check the pool":
transactions = utilityHelper.loadFile("../data/transaction_pool.dat")
x = 0
@ -206,7 +205,7 @@ class MenuHelper:
self.printMenu(menu)
# make input an interger
try:
choice = int(input())
choice = int(input(">>: "))
except:
utilityHelper.clearScreen()
print("Wrong input, try again")