force ansi output for line mode (fixes #266)
This commit is contained in:
parent
026acdfdac
commit
6b3c40922b
1 changed files with 2 additions and 0 deletions
|
|
@ -119,6 +119,8 @@ def get_output_format(request, query):
|
|||
Return new location (can be rewritten)
|
||||
"""
|
||||
|
||||
if 'format' in query:
|
||||
return False
|
||||
# FIXME
|
||||
user_agent = request.headers.get('User-Agent', '').lower()
|
||||
if query.get('force-ansi'):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue