diff --git a/api/python/pyUtils.cpp b/api/python/pyUtils.cpp index 85cbcaa31c..9954c48204 100644 --- a/api/python/pyUtils.cpp +++ b/api/python/pyUtils.cpp @@ -48,7 +48,7 @@ void init_utils_functions(py::module& m) { return py::none(); } #else - return nullptr; + return py::none(); #endif });