diff --git a/k2t.py b/k2t.py index fbf5214..ce70a5b 100644 --- a/k2t.py +++ b/k2t.py @@ -139,9 +139,7 @@ class Entry: tag = child.tag dtag = tag.replace('-', '_') - if tag in ('frame-color', 'fill-color'): - args[dtag] = child.text[1:] - elif tag in ('dither-pattern', 'line-style', 'source', 'name'): + if tag in ('dither-pattern', 'line-style', 'source', 'name', 'frame-color', 'fill-color'): args[dtag] = child.text elif tag in ('valid', 'visible', 'transparent', 'marked', 'xfill', 'expanded'): val = {