Skip to content

Commit

Permalink
remove keyvalue description if .json doesn't define it
Browse files Browse the repository at this point in the history
  • Loading branch information
snake-biscuits committed Nov 7, 2023
1 parent 5f81216 commit 45116c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fuse.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def update_key(xml_key: ElementTree.Element, json_spec: dict):
continue
xml_key.set(attr, json_spec.get(attr, xml_key.get(attr)))
# TODO: UX DESIGN QUESTION: do we expect pilot/*.json to html.escape() descriptions?
xml_key.text = json_spec.get("description", xml_key.text)
xml_key.text = json_spec.get("description", "")


def new_spawnflag(json_spec: dict) -> ElementTree.Element:
Expand Down

0 comments on commit 45116c3

Please sign in to comment.