Skip to content

Commit 99d2192

Browse files
authored
Update examples/10-mesh_operations/13-nodes_in_local_coordinate_system.py
1 parent 3fa4f5f commit 99d2192

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/10-mesh_operations/13-nodes_in_local_coordinate_system.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
# Starting with DPF 2025.1.pre1
6060
cs = dpf.operators.result.coordinate_system()
6161
cs.inputs.data_sources.connect(model)
62-
except KeyError, ansys.dpf.gate.errors.DPFServerException:
62+
except (KeyError, ansys.dpf.gate.errors.DPFServerException) as e:
6363
# For previous DPF versions
6464
cs = model.operator(r"mapdl::rst::CS")
6565

0 commit comments

Comments
 (0)