Permalink
Browse files

Merge pull request #221 from peterbe/patch-2

As of django 1.4 b1, the default value for `STATIC_ROOT` is `''` which m...
  • Loading branch information...
2 parents 422b672 + 2ccdf09 commit b509e46e93cf689fe42e49af20453b9a02d7db17 @jezdez jezdez committed Mar 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 compressor/conf.py
View
@@ -73,7 +73,7 @@ def configure_root(self, value):
value = getattr(settings, 'STATIC_ROOT', None)
if not value:
value = settings.MEDIA_ROOT
- if not value:
+ if value is None:
raise ImproperlyConfigured("COMPRESS_ROOT setting must be set")
return os.path.normcase(os.path.abspath(value))

0 comments on commit b509e46

Please sign in to comment.