commit: e202c6fbec7c9dff67acdfe387699010d61da32b
parent a8832574fa113e0673dcf9a51ece058b0a4cdcb5
Author: Kirill Isakov <ukwt@ya.ru>
Date: Sun, 27 Mar 2016 05:23:17 +0600
Fix PEP8 warnings for Nyaa.py
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/searx/engines/nyaa.py b/searx/engines/nyaa.py
@@ -43,6 +43,7 @@ def int_or_zero(num):
return int(num)
return 0
+
# get multiplier to convert torrent size to bytes
def get_filesize_mul(suffix):
return {
@@ -57,6 +58,7 @@ def get_filesize_mul(suffix):
'TIB': 1024 ** 4
}[str(suffix).upper()]
+
# do search-request
def request(query, params):
query = urlencode({'term': query})