Show More
@@ -312,7 +312,7 b' class InteractiveShellApp(Configurable):' | |||
|
312 | 312 | # behavior. |
|
313 | 313 | with preserve_keys(self.shell.user_ns, '__file__'): |
|
314 | 314 | self.shell.user_ns['__file__'] = fname |
|
315 | if full_filename.endswith('.ipy'): | |
|
315 | if full_filename.endswith('.ipy') or full_filename.endswith('.ipynb'): | |
|
316 | 316 | self.shell.safe_execfile_ipy(full_filename, |
|
317 | 317 | shell_futures=shell_futures) |
|
318 | 318 | else: |
General Comments 0
You need to be logged in to leave comments.
Login now