]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix problem after call "import salome" in python console
authorimn <imn@opencascade.com>
Thu, 3 Nov 2016 14:04:57 +0000 (17:04 +0300)
committerimn <imn@opencascade.com>
Thu, 3 Nov 2016 14:04:57 +0000 (17:04 +0300)
src/SalomeApp/SalomeApp_PyInterp.cxx

index 0ab36f99a65cec79f76a09e3e9f14a0e24f73afb..e8e175d35977b46d15d1c8e5b9d6f9f5ae788f57 100755 (executable)
@@ -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;
   }