fixing settings menu crashing, closes #24g

master
Vincent Zeng 2018-03-23 00:17:33 -04:00
parent b367e5103f
commit 36595b06bd
1 changed files with 63 additions and 57 deletions

View File

@ -444,6 +444,8 @@ def setup():
redraw(EJECT)
return SETTINGS
if choice is not "":
if choice in QUITS:
redraw()
return SETTINGS
@ -506,6 +508,10 @@ def setup():
return SETTINGS
else:
redraw("now changing your settings. press <ctrl-c> if you didn't mean to do this.")
return setup()
def save_settings():
"""
Save current settings.