mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 09:43:07 -07:00
- Call python scripts using python executable (fix for windows)
This commit is contained in:
parent
56965d444a
commit
b2f9394d6e
2 changed files with 4 additions and 3 deletions
|
@ -250,8 +250,9 @@ void engineSelectDlg::setRowColor(int row, QString color){
|
|||
bool engineSelectDlg::checkInstalled(QString plugin_name) const {
|
||||
QProcess nova;
|
||||
QStringList params;
|
||||
params << misc::qBittorrentPath()+"search_engine"+QDir::separator()+"nova2.py";
|
||||
params << "--supported_engines";
|
||||
nova.start(misc::qBittorrentPath()+"search_engine"+QDir::separator()+"nova2.py", params, QIODevice::ReadOnly);
|
||||
nova.start("python", params, QIODevice::ReadOnly);
|
||||
nova.waitForStarted();
|
||||
nova.waitForFinished();
|
||||
QByteArray result = nova.readAll();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue