##// END OF EJS Templates
Merge pull request #11529 from tonyfast/run-ipynb-cli...
Matthias Bussonnier -
r24900:7263f834 merge
parent child Browse files
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