Browse Source

Correctly detect python in PATH

adaptive-webui-19844
paolo-sz 10 years ago
parent
commit
b47fba49cc
  1. 2
      src/mainwindow.cpp

2
src/mainwindow.cpp

@ -1331,7 +1331,7 @@ void MainWindow::on_actionSearch_engine_triggered() {
bool res = false; bool res = false;
// Check if python is already in PATH // Check if python is already in PATH
if (misc::pythonVersion()) if (misc::pythonVersion() > 0)
res = true; res = true;
else else
res = addPythonPathToEnv(); res = addPythonPathToEnv();

Loading…
Cancel
Save