parent
60f9fefcd4
commit
189cf29597
|
@ -138,8 +138,7 @@ namespace {
|
||||||
return "Loading " + fileName +" failed. python must not be an array.";
|
return "Loading " + fileName +" failed. python must not be an array.";
|
||||||
}
|
}
|
||||||
python = obj["python"].get<std::string>();
|
python = obj["python"].get<std::string>();
|
||||||
}
|
} else {
|
||||||
else{
|
|
||||||
python = "";
|
python = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -150,7 +149,8 @@ namespace {
|
||||||
|
|
||||||
static std::string executeAddon(const AddonInfo &addonInfo,
|
static std::string executeAddon(const AddonInfo &addonInfo,
|
||||||
const std::string &defaultPythonExe,
|
const std::string &defaultPythonExe,
|
||||||
const std::string &dumpFile) {
|
const std::string &dumpFile)
|
||||||
|
{
|
||||||
|
|
||||||
std::string pythonExe = (addonInfo.python != "") ? addonInfo.python : defaultPythonExe;
|
std::string pythonExe = (addonInfo.python != "") ? addonInfo.python : defaultPythonExe;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue