python: use simpler call format to prevent warning about PY_SSIZE_T_CLEAN (#44287)
This commit is contained in:
parent
11bc68bbbc
commit
8ae9d3a09b
|
@ -733,7 +733,7 @@ lasso_python_log(const char *domain, GLogLevelFlags log_level, const gchar *mess
|
|||
default:
|
||||
return;
|
||||
}
|
||||
result = PyObject_CallMethod(logger_object, method, "s#s", "%s", 2, message);
|
||||
result = PyObject_CallMethod(logger_object, method, "ss", "%s", message);
|
||||
Py_DECREF(logger_object);
|
||||
if (result) {
|
||||
Py_DECREF(result);
|
||||
|
|
Loading…
Reference in New Issue