summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEevee (Alex Munroe) <eevee.git@veekun.com>2013-08-09 15:10:36 -0700
committerEevee (Alex Munroe) <eevee.git@veekun.com>2013-08-09 15:10:36 -0700
commita6e8371d3afc36bed7692577e91015306e2d3e37 (patch)
treebfd66f74d85b940fa0ffab2454a674a02112708b
parent2ef4196859ff4b436612125425c8cfb34eeb30d7 (diff)
downloadpyscss-a6e8371d3afc36bed7692577e91015306e2d3e37.tar.gz
Fix bad var name.
-rw-r--r--scss/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scss/__init__.py b/scss/__init__.py
index e95051f..25fde77 100644
--- a/scss/__init__.py
+++ b/scss/__init__.py
@@ -998,7 +998,7 @@ class Scss(object):
var, _, valuestring = block.argument.partition(' in ')
calculator = Calculator(rule.namespace)
values = calculator.calculate(valuestring)
- if not name:
+ if not values:
return
var = var.strip()