Show More
@@ -500,7 +500,9 b' class NotebookApp(BaseIPythonApplication):' | |||||
500 | super(NotebookApp, self).parse_command_line(argv) |
|
500 | super(NotebookApp, self).parse_command_line(argv) | |
501 |
|
501 | |||
502 | if self.extra_args: |
|
502 | if self.extra_args: | |
503 |
|
|
503 | arg0 = self.extra_args[0] | |
|
504 | f = os.path.abspath(arg0) | |||
|
505 | self.argv.remove(arg0) | |||
504 | if not os.path.exists(f): |
|
506 | if not os.path.exists(f): | |
505 | self.log.critical("No such file or directory: %s", f) |
|
507 | self.log.critical("No such file or directory: %s", f) | |
506 | self.exit(1) |
|
508 | self.exit(1) |
General Comments 0
You need to be logged in to leave comments.
Login now