[mod] pylint: numerous minor code fixes

This commit is contained in:
Alexandre Flament 2020-11-16 09:43:23 +01:00
parent 9ed3ee2beb
commit b00d108673
24 changed files with 48 additions and 64 deletions

View file

@ -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,