Skip to content

Commit

Permalink
variable description is optional
Browse files Browse the repository at this point in the history
  • Loading branch information
landam committed May 31, 2024
1 parent e0b6fe3 commit 834a8cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/wxpython/gmodeler/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -3461,7 +3461,7 @@ def _writePython(self):
# % required: yes
""".format(
param_name=vname,
description=vdesc["description"],
description=vdesc.get("description", ""),
)
)
if optionType is None and vdesc["type"]:
Expand Down

0 comments on commit 834a8cc

Please sign in to comment.