Show More
@@ -388,6 +388,8 b' class InteractiveShellApp(Configurable):' | |||
|
388 | 388 | # Like Python itself, ignore the second if the first of these is present |
|
389 | 389 | elif self.file_to_run: |
|
390 | 390 | fname = self.file_to_run |
|
391 | if os.path.isdir(fname): | |
|
392 | fname = os.path.join(fname, "__main__.py") | |
|
391 | 393 | try: |
|
392 | 394 | self._exec_file(fname, shell_futures=True) |
|
393 | 395 | except: |
General Comments 0
You need to be logged in to leave comments.
Login now