diff options
Diffstat (limited to 'src/plugins/python/pythonlanguageclient.cpp')
| -rw-r--r-- | src/plugins/python/pythonlanguageclient.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/plugins/python/pythonlanguageclient.cpp b/src/plugins/python/pythonlanguageclient.cpp index c4eb0290748..dcba4d1ac61 100644 --- a/src/plugins/python/pythonlanguageclient.cpp +++ b/src/plugins/python/pythonlanguageclient.cpp @@ -109,15 +109,11 @@ protected: Environment env = python.deviceEnvironment(); const FilePath lspPath = pyLspPath(python); if (!lspPath.isEmpty() && lspPath.exists() && QTC_GUARD(lspPath.isSameDevice(python))) { - env.appendOrSet("PYTHONPATH", - lspPath.path(), - OsSpecificAspects::pathListSeparator(env.osType())); + env.appendOrSet("PYTHONPATH", lspPath.path()); } if (!python.needsDevice()) { // todo check where to put this tempdir in remote setups - env.appendOrSet("PYTHONPATH", - m_extraPythonPath.path().toString(), - OsSpecificAspects::pathListSeparator(env.osType())); + env.appendOrSet("PYTHONPATH", m_extraPythonPath.path().toString()); } if (env.hasChanges()) setEnvironment(env); |
