Show More
@@ -404,6 +404,9 b' class InteractiveShellApp(Configurable):' | |||
|
404 | 404 | fname = self.file_to_run |
|
405 | 405 | if os.path.isdir(fname): |
|
406 | 406 | fname = os.path.join(fname, "__main__.py") |
|
407 | if not os.path.exists(fname): | |
|
408 | self.log.warning("File '%s' doesn't exist", fname) | |
|
409 | self.exit(2) | |
|
407 | 410 | try: |
|
408 | 411 | self._exec_file(fname, shell_futures=True) |
|
409 | 412 | except: |
General Comments 0
You need to be logged in to leave comments.
Login now