##// END OF EJS Templates
do not shutdown notebook if 'n' is part of answer...
Renaud Richardet -
Show More
@@ -708,7 +708,7 b' class NotebookApp(BaseIPythonApplication):'
708 708 r,w,x = select.select([sys.stdin], [], [], 5)
709 709 if r:
710 710 line = sys.stdin.readline()
711 if line.lower().startswith('y'):
711 if line.lower().startswith('y') and 'n' not in line.lower():
712 712 self.log.critical("Shutdown confirmed")
713 713 ioloop.IOLoop.instance().stop()
714 714 return
General Comments 0
You need to be logged in to leave comments. Login now