Show More
@@ -329,7 +329,7 b' class InteractiveShellApp(Configurable):' | |||||
329 | # behavior. |
|
329 | # behavior. | |
330 | with preserve_keys(self.shell.user_ns, '__file__'): |
|
330 | with preserve_keys(self.shell.user_ns, '__file__'): | |
331 | self.shell.user_ns['__file__'] = fname |
|
331 | self.shell.user_ns['__file__'] = fname | |
332 | if full_filename.endswith('.ipy'): |
|
332 | if full_filename.endswith('.ipy') or full_filename.endswith('.ipynb'): | |
333 | self.shell.safe_execfile_ipy(full_filename, |
|
333 | self.shell.safe_execfile_ipy(full_filename, | |
334 | shell_futures=shell_futures) |
|
334 | shell_futures=shell_futures) | |
335 | else: |
|
335 | else: |
General Comments 0
You need to be logged in to leave comments.
Login now