cleaner text handling
This commit is contained in:
parent
a26bc010b6
commit
26f09e7d50
@ -66,7 +66,10 @@ def exploreBlocks(self):
|
||||
return
|
||||
case "1":
|
||||
utilityHelper.clearScreen()
|
||||
print(f"This block is {blocks[user_input].is_valid()}")
|
||||
if blocks[user_input].is_valid():
|
||||
print(f"{utilityHelper.successMessage('This block is valid')}")
|
||||
else:
|
||||
print(f"{utilityHelper.warningMessage('This block is invalid')}")
|
||||
case "2":
|
||||
utilityHelper.clearScreen()
|
||||
x = 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user