##// END OF EJS Templates
Update shellapp.py...
Tony Fast -
Show More
@@ -312,7 +312,7 b' class InteractiveShellApp(Configurable):'
312 # behavior.
312 # behavior.
313 with preserve_keys(self.shell.user_ns, '__file__'):
313 with preserve_keys(self.shell.user_ns, '__file__'):
314 self.shell.user_ns['__file__'] = fname
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 self.shell.safe_execfile_ipy(full_filename,
316 self.shell.safe_execfile_ipy(full_filename,
317 shell_futures=shell_futures)
317 shell_futures=shell_futures)
318 else:
318 else:
General Comments 0
You need to be logged in to leave comments. Login now