From 3a02eab480b1dac35a40a65eabc2a019798b1184 Mon Sep 17 00:00:00 2001 From: Ask Solem Date: Tue, 17 Mar 2009 16:02:30 +0100 Subject: Fix typo --- djangopypi/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/djangopypi/views.py b/djangopypi/views.py index 296ecea..bcba5ae 100644 --- a/djangopypi/views.py +++ b/djangopypi/views.py @@ -74,7 +74,7 @@ def parse_weird_post_data(data): def login_basic_auth(request): authentication = request.META.get("HTTP_AUTHORIZATION") - if not auth: + if not authentication: return (authmeth, auth) = authentication.split(' ', 1) if authmeth.lower() != "basic": -- cgit v1.2.3