Permalink
Browse files

Call a kwarg like it's a kwarg.

  • Loading branch information...
1 parent 605b5fc commit 40b1d91c76e297a352b2e70331b26927d25142f2 @erikrose erikrose committed Mar 27, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 dxr/app.py
View
@@ -70,7 +70,7 @@ def search(tree):
if conn:
# Parse the search query
qtext = querystring.get('q', '')
- q = Query(conn, qtext, 'explain' in querystring)
+ q = Query(conn, qtext, should_explain='explain' in querystring)
# Try for a direct result:
if querystring.get('redirect') == 'true':

0 comments on commit 40b1d91

Please sign in to comment.