summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--django_pyscss/compressor.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django_pyscss/compressor.py b/django_pyscss/compressor.py
index f815cb0..78d5fd0 100644
--- a/django_pyscss/compressor.py
+++ b/django_pyscss/compressor.py
@@ -11,10 +11,10 @@ from django_pyscss.scss import DjangoScss
class DjangoScssFilter(FilterBase):
compiler = DjangoScss()
- def __init__(self, content, attrs=None, filter_type=None, filename=None):
+ def __init__(self, content, attrs=None, filter_type=None, filename=None, **kwargs):
# It looks like there is a bug in django-compressor because it expects
# us to accept attrs.
- super(DjangoScssFilter, self).__init__(content, filter_type, filename)
+ super(DjangoScssFilter, self).__init__(content, filter_type, filename, **kwargs)
try:
# this is a link tag which means there is an SCSS file being
# referenced.