mirror of
https://github.com/searxng/searxng.git
synced 2025-07-13 00:09:18 +02:00
[fix] nyaa engine - paging support & filesize (GiB)
BTW: pylint engine Closes: https://github.com/searxng/searxng/issues/3290 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
3179993847
commit
a5b81e2555
2 changed files with 29 additions and 16 deletions
|
@ -48,6 +48,7 @@ _STORAGE_UNIT_VALUE: Dict[str, int] = {
|
|||
'GB': 1024 * 1024 * 1024,
|
||||
'MB': 1024 * 1024,
|
||||
'TiB': 1000 * 1000 * 1000 * 1000,
|
||||
'GiB': 1000 * 1000 * 1000,
|
||||
'MiB': 1000 * 1000,
|
||||
'KiB': 1000,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue