Fixed #16631 -- Fixed embarrassing typo introduced in r16617. Thanks, Andi Albrecht.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16618 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Jannis Leidel 2011-08-15 08:22:22 +00:00
parent 2980f2ab9a
commit cfba246037
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ def check_settings(base_url=None):
Checks if the staticfiles settings have sane values.
"""
if base_url is not None:
if base_url is None:
base_url = settings.STATIC_URL
if not base_url:
raise ImproperlyConfigured(