Permalink
Browse files

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
  • Loading branch information...
1 parent 2980f2a commit cfba2460370a6d1808b78e2ba0709ea5c8b7e773 @jezdez jezdez committed Aug 15, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/contrib/staticfiles/utils.py
View
2 django/contrib/staticfiles/utils.py
@@ -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(

0 comments on commit cfba246

Please sign in to comment.