Browse Source

Merge pull request #1955 from paolo-sz/master

Correctly detect python in PATH
adaptive-webui-19844
sledgehammer999 10 years ago
parent
commit
2bc9e2c1a5
  1. 2
      src/mainwindow.cpp

2
src/mainwindow.cpp

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

Loading…
Cancel
Save