... | ... |
@@ -623,7 +623,7 @@ class XDotAttrParser: |
623 | 623 |
r, g, b = colorsys.hsv_to_rgb(h, s, v) |
624 | 624 |
a = 1.0 |
625 | 625 |
return r, g, b, a |
626 |
- elif c1 == "[": |
|
626 |
+ elif c1 == "[" or c1 == "(": |
|
627 | 627 |
sys.stderr.write('warning: color gradients not supported yet\n') |
628 | 628 |
return None |
629 | 629 |
else: |