[fix] indentation

This commit is contained in:
Adam Tauber 2014-05-16 16:44:51 +02:00
parent 637d58f2ed
commit 6d84ef13f2
1 changed files with 1 additions and 1 deletions

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: