From e21f53d87bcdef10e60da6e47491dde868b5bfdd Mon Sep 17 00:00:00 2001 From: Igor Chubin Date: Wed, 1 May 2019 21:19:30 +0200 Subject: [PATCH] bin/srv.py: minor fix --- bin/srv.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/srv.py b/bin/srv.py index fb4bbef..abdb622 100644 --- a/bin/srv.py +++ b/bin/srv.py @@ -54,7 +54,8 @@ def is_html_needed(user_agent): """ Basing on `user_agent`, return whether it needs HTML or ANSI """ - plaintext_clients = ['curl', 'wget', 'fetch', 'httpie', 'lwp-request', 'openbsd ftp', 'python-requests'] + plaintext_clients = [ + 'curl', 'wget', 'fetch', 'httpie', 'lwp-request', 'openbsd ftp', 'python-requests'] return all([x not in user_agent for x in plaintext_clients]) def is_result_a_script(query):