Show More
@@ -271,7 +271,7 b' class HistorySaveThread(threading.Thread):' | |||||
271 | if self.exit_now==True: |
|
271 | if self.exit_now==True: | |
272 | break |
|
272 | break | |
273 | #printing for debug |
|
273 | #printing for debug | |
274 | print("Saving...") |
|
274 | #print("Saving...") | |
275 | self.IPython_object.save_history() |
|
275 | self.IPython_object.save_history() | |
276 |
|
276 | |||
277 | def magic_history(self, parameter_s = ''): |
|
277 | def magic_history(self, parameter_s = ''): |
@@ -505,8 +505,6 b' class TerminalInteractiveShell(InteractiveShell):' | |||||
505 | self.shell.history_thread.cond.release() |
|
505 | self.shell.history_thread.cond.release() | |
506 | self.ask_exit() |
|
506 | self.ask_exit() | |
507 | else: |
|
507 | else: | |
508 | self.shell.history_thread = HistorySaveThread(self.shell, 60, False) |
|
|||
509 | self.shell.history_thread.start() |
|
|||
510 | self.ask_exit() |
|
508 | self.ask_exit() | |
511 |
|
509 | |||
512 | #------------------------------------------------------------------------ |
|
510 | #------------------------------------------------------------------------ |
General Comments 0
You need to be logged in to leave comments.
Login now