summaryrefslogtreecommitdiff
path: root/scss/types.py
diff options
context:
space:
mode:
Diffstat (limited to 'scss/types.py')
-rw-r--r--scss/types.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/scss/types.py b/scss/types.py
index 870f479..8ab300e 100644
--- a/scss/types.py
+++ b/scss/types.py
@@ -436,7 +436,10 @@ class Number(Value):
# TODO enforce no units for trig?
python_arg = sass_arg.value
python_ret = fn(python_arg)
- sass_ret = cls(python_ret, unit=sass_arg.unit)
+ sass_ret = cls(
+ python_ret,
+ unit_numer=sass_arg.unit_numer,
+ unit_denom=sass_arg.unit_denom)
return sass_ret
return wrapped