forked from Icycoide/searxng
[format.python] initial formatting of the python code
This patch was generated by black [1]:: make format.python [1] https://github.com/psf/black Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
fcdc2c2cd2
commit
3d96a9839a
184 changed files with 2800 additions and 2836 deletions
|
@ -68,14 +68,16 @@ def response(resp):
|
|||
else:
|
||||
content = f"{views} views - {rumbles} rumbles"
|
||||
|
||||
results.append({
|
||||
'url': url,
|
||||
'title': title,
|
||||
'content': content,
|
||||
'author': author,
|
||||
'length': length,
|
||||
'template': 'videos.html',
|
||||
'publishedDate': fixed_date,
|
||||
'thumbnail': thumbnail,
|
||||
})
|
||||
results.append(
|
||||
{
|
||||
'url': url,
|
||||
'title': title,
|
||||
'content': content,
|
||||
'author': author,
|
||||
'length': length,
|
||||
'template': 'videos.html',
|
||||
'publishedDate': fixed_date,
|
||||
'thumbnail': thumbnail,
|
||||
}
|
||||
)
|
||||
return results
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue