Small cleanup.

pull/7/head
Ferry Boender 10 years ago
parent 6723038209
commit 6d7cdf744c
  1. 4
      src/webapp.py

@ -269,9 +269,7 @@ class ScriptFormWebApp(WebAppHandler):
authorized = True
if not authorized:
headers = {
"WWW-Authenticate": 'Basic realm="Private Area"'
}
headers = {"WWW-Authenticate": 'Basic realm="Private Area"'}
raise HTTPError(401, 'Authenticate', headers)
return True

Loading…
Cancel
Save