mirror of
https://github.com/searxng/searxng.git
synced 2025-07-24 13:49:26 +02:00
[mod] remove deprecate code
remove code to support Python 3.5 and Python 3.6
This commit is contained in:
parent
8f100d7046
commit
f3f61df6a0
2 changed files with 2 additions and 25 deletions
|
@ -38,7 +38,7 @@ def ahmia_blacklist_loader():
|
|||
This function is used by :py:mod:`searx.plugins.ahmia_filter`.
|
||||
|
||||
"""
|
||||
with open(str(data_dir / 'ahmia_blacklist.txt'), encoding='utf-8') as f:
|
||||
with open(data_dir / 'ahmia_blacklist.txt', encoding='utf-8') as f:
|
||||
return f.read().split()
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue