Commit 77a57c43 authored by Martin's avatar Martin
Browse files

fixed format guessing invokation bug

parent 0d8269f5
No related merge requests found
Showing with 3 additions and 0 deletions
+3 -0
......@@ -27,6 +27,9 @@ def get_ip():
if 'format' in request.args:
resp_format = request.args.get('format', 'txt').lower()
if resp_format is None:
resp_format = tools.guess_format(request)
query = []
if 'q' in request.args:
query.extend(request.args.get('q').lower().split(','))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment