Show More
@@ -418,7 +418,8 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 |
self. |
|
421 | if not self.interact: | |
|
422 | self.exit(2) | |||
422 | try: |
|
423 | try: | |
423 | self._exec_file(fname, shell_futures=True) |
|
424 | self._exec_file(fname, shell_futures=True) | |
424 | except: |
|
425 | except: |
General Comments 0
You need to be logged in to leave comments.
Login now