1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-12 07:48:04 +00:00

Merge pull request #1955 from paolo-sz/master

Correctly detect python in PATH
This commit is contained in:
sledgehammer999 2014-09-25 14:27:18 +03:00
commit 2bc9e2c1a5

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

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