summaryrefslogtreecommitdiff
path: root/imgrid.py
diff options
context:
space:
mode:
authorPepper <pepper@scannerjammer.com>2015-03-22 20:52:47 -0400
committerPepper <pepper@scannerjammer.com>2015-03-22 20:52:47 -0400
commitc4010bfcad8b975b88395bfeb5746cf88b8ee5a7 (patch)
tree4029e1e33a5aec04f7a8b35d316e3d17f05e9291 /imgrid.py
parent55e790354c222e6cf3f54332905490583f77785d (diff)
minor fixes
Diffstat (limited to 'imgrid.py')
-rwxr-xr-ximgrid.py2
1 files changed, 1 insertions, 1 deletions
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