forked from endorphant/ttbp
fixing settings menu crashing, closes #24g
parent
b367e5103f
commit
36595b06bd
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue