summaryrefslogtreecommitdiff
path: root/django_pyscss/scss.py
diff options
context:
space:
mode:
Diffstat (limited to 'django_pyscss/scss.py')
-rw-r--r--django_pyscss/scss.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/django_pyscss/scss.py b/django_pyscss/scss.py
index 634de3a..f73e157 100644
--- a/django_pyscss/scss.py
+++ b/django_pyscss/scss.py
@@ -151,6 +151,8 @@ class DjangoScss(Scss):
Overwritten to call _find_source_file instead of
SourceFile.from_filename. Also added the relative_to option.
"""
+ if not os.path.exists(config.ASSETS_ROOT):
+ os.makedirs(config.ASSETS_ROOT)
if super_selector:
self.super_selector = super_selector + ' '
self.reset()