diff options
author | Alexandre Flament <alex@al-f.net> | 2021-01-12 09:45:16 +0100 |
---|---|---|
committer | Alexandre Flament <alex@al-f.net> | 2021-01-12 09:45:16 +0100 |
commit | f5c3cb7afafc3d25380e681230263320ddcbbdfa (patch) | |
tree | 153ef85810aa09f080fa4e246cb4a4ec52d782c1 /searx | |
parent | 8d0312d014f09fad2133b6e6c6b597cc08e4daf0 (diff) | |
download | searxng-f5c3cb7afafc3d25380e681230263320ddcbbdfa.tar.gz searxng-f5c3cb7afafc3d25380e681230263320ddcbbdfa.zip |
[mod] drop Python 3.5 support
Diffstat (limited to 'searx')
-rw-r--r-- | searx/data/__init__.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/searx/data/__init__.py b/searx/data/__init__.py index 55a254b13..29ac5b7a2 100644 --- a/searx/data/__init__.py +++ b/searx/data/__init__.py @@ -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) |