summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scss/functions/compass/helpers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scss/functions/compass/helpers.py b/scss/functions/compass/helpers.py
index 7a953f0..fe1ef6c 100644
--- a/scss/functions/compass/helpers.py
+++ b/scss/functions/compass/helpers.py
@@ -296,7 +296,7 @@ def enumerate_(prefix, frm, through, separator='-'):
ret = []
for i in rev(range(frm, through + 1)):
- if prefix.value:
+ if prefix and prefix.value:
ret.append(String.unquoted(prefix.value + separator + str(i)))
else:
ret.append(Number(i))