summaryrefslogtreecommitdiff
path: root/imgrid.py
diff options
context:
space:
mode:
Diffstat (limited to 'imgrid.py')
-rwxr-xr-ximgrid.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/imgrid.py b/imgrid.py
index c00d9d0..d36c3d3 100755
--- a/imgrid.py
+++ b/imgrid.py
@@ -32,6 +32,8 @@ DEFAULT_FINALFORMAT = "png"
#{{{Utility functions
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
else: