Skip to content

Commit 40abad6

Browse files
committed
yapf
1 parent 71496c6 commit 40abad6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

geos-mesh/src/geos/mesh/io/vtkIO.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,7 @@ def write_mesh( mesh: vtkPointSet, vtk_output: VtkOutput, can_overwrite: bool =
197197
int: Returns 1 on success, consistent with the VTK writer's return code.
198198
"""
199199
if os.path.exists( vtk_output.output ) and not can_overwrite:
200-
raise FileExistsError(
201-
f"File '{vtk_output.output}' already exists. Set can_overwrite=True to replace it." )
200+
raise FileExistsError( f"File '{vtk_output.output}' already exists. Set can_overwrite=True to replace it." )
202201

203202
_, extension = os.path.splitext( vtk_output.output )
204203

0 commit comments

Comments
 (0)