Fix small error using correct name for addon script when specified in json file (#1881)
This commit is contained in:
parent
c0d8990e8b
commit
5dd7dacfd7
|
@ -84,7 +84,7 @@ namespace {
|
||||||
args += " " + v.get<std::string>();
|
args += " " + v.get<std::string>();
|
||||||
}
|
}
|
||||||
name = obj["script"].get<std::string>();
|
name = obj["script"].get<std::string>();
|
||||||
scriptFile = Path::getPathFromFilename(exename) + "addons/" + fileName + ".py";
|
scriptFile = Path::getPathFromFilename(exename) + "addons/" + name + ".py";
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue