Notebooks: ensure python path dirs added to path on session start (#7968)

* ensure python path dirs add to path session start

* Change logic slightly

* PR feedback from Charles
This commit is contained in:
Chris LaFreniere
2019-10-23 19:22:24 -07:00
committed by Karl Burtram
parent 3d95b0032e
commit c9dd2fb4a8
3 changed files with 15 additions and 6 deletions

View File

@@ -54,6 +54,10 @@ export class LocalJupyterServerManager implements nb.ServerManager, vscode.Dispo
return this._onServerStarted.event;
}
public get jupyterServerInstallation(): JupyterServerInstallation | undefined {
return this.options && this.options.jupyterInstallation;
}
public async startServer(): Promise<void> {
try {
if (!this._jupyterServer) {