Skip to content

Commit aaa1a56

Browse files
committed
Add default value to variable for error reporting in build.py
1 parent f3fe16c commit aaa1a56

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ansys/dpf/core/operators/build.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ def build_operators():
234234
# Write to operator file
235235
operator_file = os.path.join(category_path, scripting_name + ".py")
236236
with open(operator_file, "wb") as f:
237+
operator_str = scripting_name
237238
try:
238239
operator_str = build_operator(
239240
specification,

0 commit comments

Comments
 (0)