mirror of
https://github.com/searxng/searxng.git
synced 2025-08-02 10:02:20 +02:00
[mod] drop Python 3.5 support
This commit is contained in:
parent
8d0312d014
commit
f5c3cb7afa
3 changed files with 7 additions and 13 deletions
|
@ -8,8 +8,7 @@ data_dir = Path(__file__).parent
|
|||
|
||||
|
||||
def load(filename):
|
||||
# add str(...) for Python 3.5
|
||||
with open(str(data_dir / filename), encoding='utf-8') as fd:
|
||||
with open(data_dir / filename, encoding='utf-8') as fd:
|
||||
return json.load(fd)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue