Set a default line pattern
This commit is contained in:
parent
8af1792faf
commit
175d309146
1 changed files with 1 additions and 1 deletions
2
k2t.py
2
k2t.py
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue