diff options
author | German M. Bravo <german.mb@deipi.com> | 2013-05-06 09:48:01 -0500 |
---|---|---|
committer | German M. Bravo <german.mb@deipi.com> | 2013-05-06 09:48:01 -0500 |
commit | b52ba40d692f3a6baab32d84c60b827721a031f1 (patch) | |
tree | af6253b55de4c75ef3f58b2471b1b684a132c669 | |
parent | 151b8b3d1e06f7b963e91fcc1bdebd7d4b060c2f (diff) | |
download | pyscss-b52ba40d692f3a6baab32d84c60b827721a031f1.tar.gz |
Fix some gradient expansions. (Thanks to QuLogic)
The ListValue class constructor doesn't know how to handle a generator,
and tried converting it into a string, which just gives you the internal
name/pointer.
-rw-r--r-- | scss/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scss/__init__.py b/scss/__init__.py index 93b162f..870ceae 100644 --- a/scss/__init__.py +++ b/scss/__init__.py @@ -3631,7 +3631,7 @@ def _grad_point(*p): vrt = NumberValue(0, '%') elif 'bottom' in pos: vrt = NumberValue(1, '%') - return ListValue(v for v in (hrz, vrt) if v is not None) + return ListValue([v for v in (hrz, vrt) if v is not None]) ################################################################################ |