summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRocky Meza <rocky@fusionbox.com>2014-02-03 19:38:31 -0700
committerRocky Meza <rocky@fusionbox.com>2014-02-03 19:38:31 -0700
commit2d4b0c406ded6e2176b13f1a580e048b5a8fde95 (patch)
tree49932efa9d17db5811625e9bfa626e867f650083
parentd7e1e50165e180bb795f1c3dde1ae684df4e56d8 (diff)
downloaddjango-pyscss-2d4b0c406ded6e2176b13f1a580e048b5a8fde95.tar.gz
Fix source_file_index logic.
-rw-r--r--django_pyscss/scss.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django_pyscss/scss.py b/django_pyscss/scss.py
index 21e6c65..634de3a 100644
--- a/django_pyscss/scss.py
+++ b/django_pyscss/scss.py
@@ -79,7 +79,7 @@ class DjangoScss(Scss):
for name in self.get_possible_import_paths(filename, relative_to):
full_filename, storage = self.get_file_and_storage(name)
if full_filename:
- if name not in self.source_files:
+ if full_filename not in self.source_file_index:
with storage.open(full_filename) as f:
source = f.read()