mirror of
https://github.com/searxng/searxng.git
synced 2025-07-23 05:09:17 +02:00
[mod] pylint: numerous minor code fixes
This commit is contained in:
parent
9ed3ee2beb
commit
b00d108673
24 changed files with 48 additions and 64 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue