From c4010bfcad8b975b88395bfeb5746cf88b8ee5a7 Mon Sep 17 00:00:00 2001 From: Pepper Date: Sun, 22 Mar 2015 20:52:47 -0400 Subject: minor fixes --- imgrid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'imgrid.py') diff --git a/imgrid.py b/imgrid.py index d36c3d3..ece50b0 100755 --- a/imgrid.py +++ b/imgrid.py @@ -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 -- cgit v1.2.3-70-g09d2