Skip to content

Commit

Permalink
fix bug on main
Browse files Browse the repository at this point in the history
with the first main meny, if wrong input was typed, the error message was cleaned before user can see. Now you have to type any key to continue.
  • Loading branch information
miguelob committed Oct 6, 2022
1 parent 8cc8ef5 commit 46e31f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packet/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def menuPandP():
try:
option = int(input('Enter your choice: '))
except:
print('Wrong input. Please enter a number ...')
input('Wrong input. Please enter a number. Type any key to continue...')
#Check what choice was entered and act accordingly
if option == 1:
while(True):
Expand Down

0 comments on commit 46e31f1

Please sign in to comment.