Cleanup previous PR

This commit is contained in:
Kovid Goyal
2026-05-10 12:20:14 +05:30
parent 3209db671f
commit 550f8d8f76
+1 -4
View File
@@ -288,10 +288,7 @@ set_voice(PyObject *self, PyObject *args) {
static PyObject*
normalize(const char *text) {
PyObject *t = PyUnicode_FromString(text);
if (!t) return NULL;
if (PyTuple_SetItem(normalize_data.args, 1, t) != 0) {
return NULL;
}
if (!t || PyTuple_SetItem(normalize_data.args, 1, t) != 0) return NULL;
return PyObject_CallObject(normalize_data.func, normalize_data.args);
}