fixed path for venv
This commit is contained in:
@ -131,7 +131,7 @@ return {
|
|||||||
|
|
||||||
local jsonVenv = getVenvFromJson(cwd .. '/pyrightconfig.json')
|
local jsonVenv = getVenvFromJson(cwd .. '/pyrightconfig.json')
|
||||||
if jsonVenv ~= nil then
|
if jsonVenv ~= nil then
|
||||||
return jsonVenv
|
return jsonVenv .. '/' .. getVenvSuffix()
|
||||||
end
|
end
|
||||||
|
|
||||||
if vim.fn.executable(cwd .. '/venv/' .. getVenvSuffix()) == 1 then
|
if vim.fn.executable(cwd .. '/venv/' .. getVenvSuffix()) == 1 then
|
||||||
|
Reference in New Issue
Block a user