Fix issue 5

This commit is contained in:
robotis
2012-05-16 23:34:18 +00:00
parent ef1c1478dd
commit 609fdc2d14
3 changed files with 11 additions and 1 deletions

View File

@@ -49,7 +49,11 @@ class Call(Node):
if hasattr(color, name):
try:
return getattr(color, name)(*args)
result = getattr(color, name)(*args)
try:
return result + ' '
except TypeError:
return result
except ValueError:
pass
self.parsed = name + ''.join([p for p in parsed])

View File

@@ -0,0 +1,3 @@
.test {
border: #3b3b3b solid 1px;
}

View File

@@ -0,0 +1,3 @@
.test {
border: darken(#555555, 10%) solid 1px;
}