diff options
Diffstat (limited to 'django_pyscss/utils.py')
-rw-r--r-- | django_pyscss/utils.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/django_pyscss/utils.py b/django_pyscss/utils.py index 8ff5ad9..d668280 100644 --- a/django_pyscss/utils.py +++ b/django_pyscss/utils.py @@ -13,6 +13,7 @@ def find_all_files(glob): """ for finder in finders.get_finders(): for path, storage in finder.list([]): - if fnmatch.fnmatchcase(os.path.join(storage.prefix or '', path), + if fnmatch.fnmatchcase(os.path.join(getattr(storage, 'prefix', '') + or '', path), glob): yield path, storage |