From e202c6fbec7c9dff67acdfe387699010d61da32b Mon Sep 17 00:00:00 2001 From: Kirill Isakov Date: Sun, 27 Mar 2016 05:23:17 +0600 Subject: [PATCH] Fix PEP8 warnings for Nyaa.py --- searx/engines/nyaa.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/searx/engines/nyaa.py b/searx/engines/nyaa.py index b0f884b77..cda8231f7 100644 --- 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})