From c29df9f755e06e14dab2689a2b4248e94b32ace0 Mon Sep 17 00:00:00 2001 From: Paul RASCLE Date: Fri, 12 Oct 2018 13:18:27 +0200 Subject: [PATCH] debug Python modules: embedded mode set to true --- src/SALOME_PYQT/SALOME_PYQT_GUILight/SALOME_PYQT_PyModule.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SALOME_PYQT/SALOME_PYQT_GUILight/SALOME_PYQT_PyModule.cxx b/src/SALOME_PYQT/SALOME_PYQT_GUILight/SALOME_PYQT_PyModule.cxx index 0272b7750..13a50e024 100644 --- a/src/SALOME_PYQT/SALOME_PYQT_GUILight/SALOME_PYQT_PyModule.cxx +++ b/src/SALOME_PYQT/SALOME_PYQT_GUILight/SALOME_PYQT_PyModule.cxx @@ -1755,7 +1755,7 @@ void PyModuleHelper::initInterp() } // ... then call a method int embedded = 1; - PyObjWrapper aRes( PyObject_CallMethod( aMod, (char*)"salome_init", (char*)"i", embedded ) ); + PyObjWrapper aRes( PyObject_CallMethod( aMod, (char*)"salome_init", (char*)"si", NULL, embedded ) ); if ( !aRes ) { // Error! PyErr_Print(); -- 2.39.2