fixed ejecting from settings panel

master
endorphant 2016-05-04 20:10:33 -04:00
parent 8ae32eb4bb
commit e8607aa42d
1 changed files with 4 additions and 1 deletions

View File

@ -246,7 +246,10 @@ def main_menu():
pretty_settings += "\n\tpublish dir:\t" +os.path.join(PUBLIC, SETTINGS["publish dir"]) pretty_settings += "\n\tpublish dir:\t" +os.path.join(PUBLIC, SETTINGS["publish dir"])
redraw("now changing your settings. press <ctrl-c> if you didn't mean to do this.\n\ncurrent settings "+pretty_settings+"\n") redraw("now changing your settings. press <ctrl-c> if you didn't mean to do this.\n\ncurrent settings "+pretty_settings+"\n")
setup() try:
setup()
except KeyboardInterrupt():
redraw("eject button fired! going home now.")
raw_input("\nyou're all good to go, "+chatter.say("friend")+"! hit <enter> to continue.\n\n") raw_input("\nyou're all good to go, "+chatter.say("friend")+"! hit <enter> to continue.\n\n")
redraw() redraw()
elif choice == '5': elif choice == '5':