Salome HOME
debug Python modules: embedded mode set to true
authorPaul RASCLE <paul.rascle@edf.fr>
Fri, 12 Oct 2018 11:18:27 +0000 (13:18 +0200)
committerPaul RASCLE <paul.rascle@edf.fr>
Fri, 12 Oct 2018 11:18:27 +0000 (13:18 +0200)
src/SALOME_PYQT/SALOME_PYQT_GUILight/SALOME_PYQT_PyModule.cxx

index 0272b77502455f334544b61c9f94ab28fc95d08c..13a50e0240bd89f650e36ad980196c928266975c 100644 (file)
@@ -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();