From: Paul RASCLE Date: Fri, 12 Oct 2018 11:18:27 +0000 (+0200) Subject: debug Python modules: embedded mode set to true X-Git-Tag: V9_2_0a2~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c29df9f755e06e14dab2689a2b4248e94b32ace0;p=modules%2Fgui.git debug Python modules: embedded mode set to true --- 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();