Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit b509e46e93cf689fe42e49af20453b9a02d7db17 2 parents 422b672 + 2ccdf09
@jezdez jezdez authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  compressor/conf.py
View
2  compressor/conf.py
@@ -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))
Please sign in to comment.
Something went wrong with that request. Please try again.