Salome HOME
Apply modifications according to changes in KERNEL API.
[modules/yacs.git] / src / runtime / DistributedPythonNode.cxx
index 96263202dfbcca120a0edb42e08005ee5a39d035..7e5a60788aeada5e615a46f0a151f9026d940ea2 100644 (file)
@@ -134,7 +134,7 @@ void DistributedPythonNode::load()
           }
         else
           {
-            Engines::PyNode_var dftPyScript(objContainer->getDefaultPyNode());
+            Engines::PyNode_var dftPyScript(objContainer->getDefaultPyNode(getName().c_str()));
             if(CORBA::is_nil(dftPyScript))
               _pynode = objContainer->createPyNode(getName().c_str(),getScript().c_str());
             else