From 7be3a38f0ed007456e315cae1f062de6a9b55398 Mon Sep 17 00:00:00 2001 From: imn Date: Thu, 3 Nov 2016 17:04:57 +0300 Subject: [PATCH] Fix problem after call "import salome" in python console --- src/SalomeApp/SalomeApp_PyInterp.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SalomeApp/SalomeApp_PyInterp.cxx b/src/SalomeApp/SalomeApp_PyInterp.cxx index 0ab36f99a..e8e175d35 100755 --- a/src/SalomeApp/SalomeApp_PyInterp.cxx +++ b/src/SalomeApp/SalomeApp_PyInterp.cxx @@ -72,7 +72,7 @@ int SalomeApp_PyInterp::beforeRun() int ret = simpleRun( "import salome", false ); if ( ret ) return ret; - ret = simpleRun( "salome.salome_init(0,1)", false ); + ret = simpleRun( "salome.salome_init(1)", false ); if ( ret ) return ret; } -- 2.39.2