summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Isakov <ukwt@ya.ru>2016-03-27 05:23:17 +0600
committerKirill Isakov <ukwt@ya.ru>2016-03-27 05:23:17 +0600
commite202c6fbec7c9dff67acdfe387699010d61da32b (patch)
tree0fd5ccd4dce2f0d5095889386e5c0b54cfff7445
parenta8832574fa113e0673dcf9a51ece058b0a4cdcb5 (diff)
downloadsearxng-e202c6fbec7c9dff67acdfe387699010d61da32b.tar.gz
searxng-e202c6fbec7c9dff67acdfe387699010d61da32b.zip
Fix PEP8 warnings for Nyaa.py
-rw-r--r--searx/engines/nyaa.py2
1 files changed, 2 insertions, 0 deletions
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})