summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--searx/engines/piratebay.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/piratebay.py b/searx/engines/piratebay.py
index 85268dcab..c14b70f3c 100644
--- a/searx/engines/piratebay.py
+++ b/searx/engines/piratebay.py
@@ -44,7 +44,7 @@ def response(resp):
'leech': leech,
'magnetlink': magnetlink.attrib['href'],
'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):
try: