Fix venv search path on Mac.

This commit is contained in:
Dave Page 2016-06-07 12:12:39 +01:00
parent f3fae9d238
commit 4380c6714e

View File

@ -65,7 +65,12 @@ Server::Server(quint16 port)
// Append the path, if it's not already there
if (!python_path.contains(pymodules_path))
{
if (!python_path.isEmpty())
python_path.append(";");
python_path.append(pymodules_path);
}
#endif
if (python_path.length() > 0)