Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e7aaff commit 8627f64Copy full SHA for 8627f64
1 file changed
src/_ttconv.cpp
@@ -49,7 +49,7 @@ class PythonFileWriter : public TTStreamWriter
49
if (decoded == NULL) {
50
throw py::exception();
51
}
52
- result = PyObject_CallFunction(_write_method, (char *)"O", decoded);
+ result = PyObject_CallFunctionObjArgs(_write_method, decoded, NULL);
53
Py_DECREF(decoded);
54
if (!result) {
55
0 commit comments