diff options
author | Kirill Isakov <ukwt@ya.ru> | 2016-03-27 05:23:17 +0600 |
---|---|---|
committer | Kirill Isakov <ukwt@ya.ru> | 2016-03-27 05:23:17 +0600 |
commit | e202c6fbec7c9dff67acdfe387699010d61da32b (patch) | |
tree | 0fd5ccd4dce2f0d5095889386e5c0b54cfff7445 | |
parent | a8832574fa113e0673dcf9a51ece058b0a4cdcb5 (diff) | |
download | searxng-e202c6fbec7c9dff67acdfe387699010d61da32b.tar.gz searxng-e202c6fbec7c9dff67acdfe387699010d61da32b.zip |
Fix PEP8 warnings for Nyaa.py
-rw-r--r-- | searx/engines/nyaa.py | 2 |
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}) |