changed input layout
This commit is contained in:
parent
20361590ff
commit
0707f667f1
@ -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
|
||||
|
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user