Skip to content

Commit

Permalink
Merge pull request #252 from dojoe/issue-245
Browse files Browse the repository at this point in the history
Fix crash on paths without a data attribute
  • Loading branch information
tatarize authored May 30, 2024
2 parents 6e385af + 74109ab commit 67a1f27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion svgelements/svgelements.py
Original file line number Diff line number Diff line change
Expand Up @@ -9233,7 +9233,7 @@ def parse(
if SVG_TAG_PATH == tag:
# Delayed path parsing, for partial paths.
s = Path(values, pathd_loaded=True)
s.parse(values.get(SVG_ATTR_DATA))
s.parse(values.get(SVG_ATTR_DATA, ""))
elif SVG_TAG_CIRCLE == tag:
s = Circle(values)
elif SVG_TAG_ELLIPSE == tag:
Expand Down

0 comments on commit 67a1f27

Please sign in to comment.