diff --git a/src/Meshing/Mage.py b/src/Meshing/Mage.py index 8cb59ba8..cd4e577f 100644 --- a/src/Meshing/Mage.py +++ b/src/Meshing/Mage.py @@ -302,7 +302,7 @@ class MeshingWithMageMailleurTT(AMeshingTool): with tempfile.TemporaryDirectory() as tmp: logger.debug(f"temp file: {tmp}") - st_file = self.export_reach_to_st(reach, "tmp") + st_file = self.export_reach_to_st(reach, tmp) m_file = st_file.rsplit(".ST", 1)[0] + ".M" os.sync()