Salome HOME
Fix invalid Python dump of ExportUNV()
authoreap <eap@opencascade.com>
Thu, 4 Aug 2022 10:38:27 +0000 (13:38 +0300)
committereap <eap@opencascade.com>
Thu, 4 Aug 2022 10:38:27 +0000 (13:38 +0300)
src/SMESH_I/SMESH_Mesh_i.cxx

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