From b00d108673082fc2487b2d122db00d988f561427 Mon Sep 17 00:00:00 2001 From: Alexandre Flament Date: Mon, 16 Nov 2020 09:43:23 +0100 Subject: [mod] pylint: numerous minor code fixes --- searx/engines/pubmed.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'searx/engines/pubmed.py') diff --git a/searx/engines/pubmed.py b/searx/engines/pubmed.py index 7eb2e92f9..07c45709e 100644 --- a/searx/engines/pubmed.py +++ b/searx/engines/pubmed.py @@ -81,7 +81,7 @@ def response(resp): pass if len(content) > 300: - content = content[0:300] + "..." + content = content[0:300] + "..." # TODO: center snippet on query term res_dict = {'url': url, -- cgit v1.2.3