Show More
@@ -418,6 +418,7 b' class InteractiveShellApp(Configurable):' | |||||
418 | fname = os.path.join(fname, "__main__.py") |
|
418 | fname = os.path.join(fname, "__main__.py") | |
419 | if not os.path.exists(fname): |
|
419 | if not os.path.exists(fname): | |
420 | self.log.warning("File '%s' doesn't exist", fname) |
|
420 | self.log.warning("File '%s' doesn't exist", fname) | |
|
421 | if not self.interact: | |||
421 | self.exit(2) |
|
422 | self.exit(2) | |
422 | try: |
|
423 | try: | |
423 | self._exec_file(fname, shell_futures=True) |
|
424 | self._exec_file(fname, shell_futures=True) |
General Comments 0
You need to be logged in to leave comments.
Login now