diff --git a/src/interpreters/python.ts b/src/interpreters/python.ts index e18908c..c58f2ef 100644 --- a/src/interpreters/python.ts +++ b/src/interpreters/python.ts @@ -35,6 +35,8 @@ export class PythonInterpreterProvider implements InterpreterProvider { */ connect(): Promise { return new Promise((resolve, _) => { + if (this.connection) { resolve(); }; + // @TODO this should use the full path of the Python 3 executable // currently selected in VSCode. this.remoteProcess = spawn('python3', [this.serverPath]);