Browse Source

- Forgot to call a python script with python executable

adaptive-webui-19844
Christophe Dumez 17 years ago
parent
commit
699d4b1161
  1. 3
      src/engineSelectDlg.cpp

3
src/engineSelectDlg.cpp

@ -297,8 +297,9 @@ void engineSelectDlg::loadSupportedSearchEngines(bool first) {
installed_engines[en] = old_engines.value(en, true); installed_engines[en] = old_engines.value(en, true);
} }
params.clear(); params.clear();
params << misc::qBittorrentPath()+"search_engine"+QDir::separator()+"nova2.py";
params << "--supported_engines_infos"; params << "--supported_engines_infos";
nova.start(misc::qBittorrentPath()+"search_engine"+QDir::separator()+"nova2.py", params, QIODevice::ReadOnly); nova.start("python", params, QIODevice::ReadOnly);
nova.waitForStarted(); nova.waitForStarted();
nova.waitForFinished(); nova.waitForFinished();
result = nova.readAll(); result = nova.readAll();

Loading…
Cancel
Save