mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 06:01:33 -06:00
committed by
GitHub
parent
794310dca9
commit
e27cbab7ee
@@ -513,13 +513,13 @@ void SearchPluginManager::updateNova()
|
||||
const Path enginePath = engineLocation();
|
||||
|
||||
QFile packageFile {(enginePath / Path(u"__init__.py"_s)).data()};
|
||||
packageFile.open(QIODevice::WriteOnly);
|
||||
if (packageFile.open(QIODevice::WriteOnly))
|
||||
packageFile.close();
|
||||
|
||||
Utils::Fs::mkdir(enginePath / Path(u"engines"_s));
|
||||
|
||||
QFile packageFile2 {(enginePath / Path(u"engines/__init__.py"_s)).data()};
|
||||
packageFile2.open(QIODevice::WriteOnly);
|
||||
if (packageFile2.open(QIODevice::WriteOnly))
|
||||
packageFile2.close();
|
||||
|
||||
// Copy search plugin files (if necessary)
|
||||
|
||||
Reference in New Issue
Block a user