Base: Remove weird error parameter from encode
This commit is contained in:
@@ -304,7 +304,7 @@ std::string InterpreterSingleton::runStringWithKey(const char* psCmd,
|
||||
key_return_value = key_return_value.str(); // NOLINT
|
||||
}
|
||||
|
||||
Py::Bytes str = Py::String(key_return_value).encode("utf-8", "~E~");
|
||||
Py::Bytes str = Py::String(key_return_value).encode("utf-8");
|
||||
std::string result = static_cast<std::string>(str);
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user