fix error related feeding str to polyline2pathd

pull/116/head
Andy Port 2020-07-06 17:30:30 -07:00
parent 22f3dafe87
commit 12c8d07bad
1 changed files with 2 additions and 2 deletions

View File

@ -105,9 +105,9 @@ class SaxDocument:
elif 'line' == name:
values["d"] = line2pathd(values)
elif 'polyline' == name:
values["d"] = polyline2pathd(values['points'])
values["d"] = polyline2pathd(values)
elif 'polygon' == name:
values["d"] = polygon2pathd(values['points'])
values["d"] = polygon2pathd(values)
elif 'rect' == name:
values["d"] = rect2pathd(values)
else: