Fix invalid Python dump of ExportUNV()

This commit is contained in:
eap 2022-08-04 13:38:27 +03:00
parent dad744364c
commit f4764708fe

View File

@ -3840,7 +3840,7 @@ void SMESH_Mesh_i::ExportUNV (const char *file, CORBA::Boolean renumber)
checkGroupNames(); checkGroupNames();
// Update Python script // Update Python script
TPythonDump() << SMESH::SMESH_Mesh_var(_this()) TPythonDump() << SMESH::SMESH_Mesh_var(_this())
<< ".ExportUNV( r'" << file << "' " << renumber << "' )"; << ".ExportUNV( r'" << file << "', " << renumber << " )";
// Perform Export // Perform Export
PrepareForWriting( file ); PrepareForWriting( file );