diff --git a/libnymea-core/integrations/python/pything.h b/libnymea-core/integrations/python/pything.h index 18688eef..96bec099 100644 --- a/libnymea-core/integrations/python/pything.h +++ b/libnymea-core/integrations/python/pything.h @@ -115,7 +115,6 @@ static void PyThing_setThing(PyThing *self, Thing *thing) PyObject *pyStateTypeId = PyDict_GetItemString(pyState, "stateTypeId"); StateTypeId stid = StateTypeId(PyUnicode_AsUTF8AndSize(pyStateTypeId, nullptr)); if (stid == stateTypeId) { - qWarning() << "Updating state" << stateTypeId << value; pyState = Py_BuildValue("{s:s, s:O}", "stateTypeId", stateTypeId.toString().toUtf8().data(), "value", QVariantToPyObject(value)); diff --git a/libnymea-core/integrations/python/pyutils.h b/libnymea-core/integrations/python/pyutils.h index 0e0ef81a..103e9d9b 100644 --- a/libnymea-core/integrations/python/pyutils.h +++ b/libnymea-core/integrations/python/pyutils.h @@ -45,8 +45,6 @@ PyObject *QVariantToPyObject(const QVariant &value) QVariant PyObjectToQVariant(PyObject *pyObject) { - qWarning() << "**************** type" << pyObject->ob_type->tp_name; - if (qstrcmp(pyObject->ob_type->tp_name, "int") == 0) { return QVariant(PyLong_AsLongLong(pyObject)); }