force ansi output for line mode (fixes #266)

pull/268/head
Igor Chubin 6 years ago
parent 026acdfdac
commit 6b3c40922b

@ -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…
Cancel
Save