2
0
mirror of https://github.com/searx/searx synced 2025-09-02 23:45:49 +00:00

[fix] indentation

This commit is contained in:
Adam Tauber
2014-05-16 16:44:51 +02:00
parent 637d58f2ed
commit 6d84ef13f2

View File

@@ -44,7 +44,7 @@ def response(resp):
'leech': leech, 'leech': leech,
'magnetlink': magnetlink.attrib['href'], 'magnetlink': magnetlink.attrib['href'],
'template': 'torrent.html'}) 'template': 'torrent.html'})
return sorted(results, key=lambda x: get_int('seed'), reversed=True) return sorted(results, key=lambda x: get_int('seed'), reversed=True)
def get_int(field): def get_int(field):
try: try: