Set a default line pattern

This commit is contained in:
Jan Petykiewicz 2026-11-23 12:19:57 -08:00
commit 175d309146

2
k2t.py
View file

@ -334,7 +334,7 @@ class LineStyle:
def from_xml(cls: Type[Self], el: ElementTree.Element) -> Self: def from_xml(cls: Type[Self], el: ElementTree.Element) -> Self:
assert el.tag == 'custom-line-style' assert el.tag == 'custom-line-style'
args: dict[str, Any] = {} args: dict[str, Any] = {'pattern': '*'}
for child in el: for child in el:
if not child.text: if not child.text:
continue continue