diff options
Diffstat (limited to 'imgrid.py')
| -rwxr-xr-x | imgrid.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -35,7 +35,7 @@ def is_color(s): if s == "": return "transparent" if re.match('(rgba?\([0-9]+,[0-9]+,[0-9]+\))|([a-zA-Z]+)|(\#[A-Ha-h0-9]+)', s): - return s + return s.replace(' ', ''); else: sys.stderr.write("Not a color: {}\n".format(s)) raise ValueError |
