Show More
@@ -579,13 +579,8 b' class NotebookApp(BaseIPythonApplication):' | |||||
579 | browser = None |
|
579 | browser = None | |
580 |
|
580 | |||
581 | if self.file_to_run: |
|
581 | if self.file_to_run: | |
582 |
|
|
582 | name, _ = os.path.splitext(os.path.basename(self.file_to_run)) | |
583 |
|
|
583 | url = self.notebook_manager.rev_mapping.get(name, '') | |
584 | if filename == nb['name']: |
|
|||
585 | url = nb['notebook_id'] |
|
|||
586 | break |
|
|||
587 | else: |
|
|||
588 | url = '' |
|
|||
589 | else: |
|
584 | else: | |
590 | url = '' |
|
585 | url = '' | |
591 | if browser: |
|
586 | if browser: |
General Comments 0
You need to be logged in to leave comments.
Login now