1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-13 08:17:57 +00:00

Correctly detect python in PATH

This commit is contained in:
paolo-sz 2014-09-22 16:14:29 +02:00
parent 8408f56d6f
commit b47fba49cc

2
src/mainwindow.cpp Normal file → Executable file
View File

@ -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();