don't strip first char of colors
This commit is contained in:
parent
06a66605d8
commit
0ba516cb6d
4
k2t.py
4
k2t.py
@ -139,9 +139,7 @@ class Entry:
|
|||||||
|
|
||||||
tag = child.tag
|
tag = child.tag
|
||||||
dtag = tag.replace('-', '_')
|
dtag = tag.replace('-', '_')
|
||||||
if tag in ('frame-color', 'fill-color'):
|
if tag in ('dither-pattern', 'line-style', 'source', 'name', 'frame-color', 'fill-color'):
|
||||||
args[dtag] = child.text[1:]
|
|
||||||
elif tag in ('dither-pattern', 'line-style', 'source', 'name'):
|
|
||||||
args[dtag] = child.text
|
args[dtag] = child.text
|
||||||
elif tag in ('valid', 'visible', 'transparent', 'marked', 'xfill', 'expanded'):
|
elif tag in ('valid', 'visible', 'transparent', 'marked', 'xfill', 'expanded'):
|
||||||
val = {
|
val = {
|
||||||
|
Loading…
Reference in New Issue
Block a user