mirror of
https://github.com/searxng/searxng.git
synced 2025-12-22 19:50:00 +00:00
[mod] drop Python 3.5 support
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user