We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65be830 commit e86f5f4Copy full SHA for e86f5f4
Python/Product/PythonTools/PythonTools/LanguageServerClient/PythonLanguageClient.cs
@@ -390,7 +390,7 @@ private LanguageServerSettings.PythonSettings GetSettings(Uri scopeUri = null) {
390
context = _clientContexts.Find(c => scopeUri != null && c.RootPath != null && PathUtils.IsSamePath(c.RootPath.ToLower(), pathFromScopeUri));
391
}
392
393
- if (context == null) {
+ if (context == null || context.InterpreterConfiguration == null) {
394
Debug.WriteLine(String.Format("GetSettings() scopeUri not found: {0}", scopeUri));
395
return null;
396
0 commit comments