Skip to content

Commit

Permalink
Fix non-existant doc case
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabien Lelaquais committed Jun 11, 2024
1 parent f525379 commit 3d19593
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/_setup_generation/step_viselements.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def generate_element_doc(element_type: str, element_desc: Dict, prefix: str):
):
property_desc = property_descs[property_name]
name = property_desc[__class__.NAME]
doc = property_desc.get("doc", None)
doc = property_desc.get("doc", "")
if doc.startswith("UNDOCUMENTED"):
continue
type = property_desc["type"]
Expand Down

0 comments on commit 3d19593

Please sign in to comment.