summaryrefslogtreecommitdiff
path: root/searx/engines/arxiv.py
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2020-11-16 09:43:23 +0100
committerAlexandre Flament <alex@al-f.net>2020-12-01 15:21:19 +0100
commitb00d108673082fc2487b2d122db00d988f561427 (patch)
tree51b5324935f24864730d705efd9f4f6a9dea465f /searx/engines/arxiv.py
parent9ed3ee2bebf2f159d4231d9aad9df53aea6db90a (diff)
downloadsearxng-b00d108673082fc2487b2d122db00d988f561427.tar.gz
searxng-b00d108673082fc2487b2d122db00d988f561427.zip
[mod] pylint: numerous minor code fixes
Diffstat (limited to 'searx/engines/arxiv.py')
-rw-r--r--searx/engines/arxiv.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/arxiv.py b/searx/engines/arxiv.py
index e54de4a58..6e231c382 100644
--- a/searx/engines/arxiv.py
+++ b/searx/engines/arxiv.py
@@ -61,7 +61,7 @@ def response(resp):
content = content_string.format(doi_content="", abstract_content=abstract)
if len(content) > 300:
- content = content[0:300] + "..."
+ content = content[0:300] + "..."
# TODO: center snippet on query term
publishedDate = datetime.strptime(entry.xpath('.//published')[0].text, '%Y-%m-%dT%H:%M:%SZ')