From cfba2460370a6d1808b78e2ba0709ea5c8b7e773 Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Mon, 15 Aug 2011 08:22:22 +0000 Subject: [PATCH] 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 --- django/contrib/staticfiles/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/contrib/staticfiles/utils.py b/django/contrib/staticfiles/utils.py index 55ea3cf06b8..f500ed6d20a 100644 --- a/django/contrib/staticfiles/utils.py +++ b/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(