diff options
| author | Alexandre Flament <alex@al-f.net> | 2020-12-01 15:31:10 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-01 15:31:10 +0100 |
| commit | 219af243a20899d0c8a677700c36e339d7cdcc74 (patch) | |
| tree | b7b98f65cf6cc8127f1d6a06e37419fe45222871 /searx/engines/arxiv.py | |
| parent | a1e6bc4cee2690eb7f2103901ada9a50846a7419 (diff) | |
| parent | 8aa2a7556ad80d3d644287fc17832050f3a5a303 (diff) | |
Merge pull request #2318 from dalf/add-pylint
Add pylint
Diffstat (limited to 'searx/engines/arxiv.py')
| -rw-r--r-- | searx/engines/arxiv.py | 2 |
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') |