mirror of
https://github.com/searxng/searxng.git
synced 2025-07-16 09:49:21 +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
|
@ -80,10 +80,7 @@ def response(resp):
|
|||
|
||||
date = datetime.now() # needed in case no dcdate is available for an item
|
||||
for item in entry:
|
||||
if item.attrib["name"] == "dchdate":
|
||||
harvestDate = item.text
|
||||
|
||||
elif item.attrib["name"] == "dcdate":
|
||||
if item.attrib["name"] == "dcdate":
|
||||
date = item.text
|
||||
|
||||
elif item.attrib["name"] == "dctitle":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue