add are you sure to changing config just in case it was an accident (thanks for the tip Crewmate)

This commit is contained in:
MeaTLoTioN 2021-11-26 18:01:08 +00:00
parent b600c91040
commit 8eb97d7add

View File

@ -121,7 +121,12 @@ def mainMenu():
if ch == '3':
delLogBook()
if ch == 'C':
checkConfig("RESET")
ind = " ".ljust(15)
writeln("")
write(ind+"|12Are you sure |07you wish to edit your config (Y/N)? ")
check = onekey(chr(13) + 'YN', False)
if check == 'Y':
checkConfig("RESET")
if ch == 'D':
exportLogBook()