Skip to content

Commit

Permalink
Fix python truth test deprecation warning (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
b-wils committed Jun 17, 2024
1 parent b4b83e0 commit 19c8736
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/lottie_markdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,7 @@ def run(self, parent, blocks):
builder = LottiePlaygroundBuilder(parent, self.schema_data, width=width, height=height, buttons=buttons)

md_form = md_element.find("./form")
if md_form:
if md_form is not None:
for input in md_form:
if not input.attrib.get("title", ""):
input.attrib["title"] = input.attrib["name"]
Expand Down

0 comments on commit 19c8736

Please sign in to comment.