Skip to content

Commit

Permalink
caught a spawnflag bug
Browse files Browse the repository at this point in the history
  • Loading branch information
snake-biscuits committed Nov 7, 2023
1 parent e7324f8 commit ff83993
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 @@ -66,7 +66,7 @@ def new_spawnflag(json_spec: dict) -> ElementTree.Element:
out = ElementTree.Element("flag")
out.set("key", json_spec["name"])
out.set("name", json_spec["name"])
out.set("bit", json_spec["bit"]) # bit set / unset by flag
out.set("bit", str(json_spec["bit"])) # bit set / unset by flag
default = {"False": "0", "True": "1"}[json_spec.get("default", "False")]
out.set("value", str(default))
out.text = html.escape(json_spec.get("description", "")) # use / effects
Expand Down

0 comments on commit ff83993

Please sign in to comment.