summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-01-12 09:45:16 +0100
committerAlexandre Flament <alex@al-f.net>2021-01-12 09:45:16 +0100
commitf5c3cb7afafc3d25380e681230263320ddcbbdfa (patch)
tree153ef85810aa09f080fa4e246cb4a4ec52d782c1 /searx
parent8d0312d014f09fad2133b6e6c6b597cc08e4daf0 (diff)
downloadsearxng-f5c3cb7afafc3d25380e681230263320ddcbbdfa.tar.gz
searxng-f5c3cb7afafc3d25380e681230263320ddcbbdfa.zip
[mod] drop Python 3.5 support
Diffstat (limited to 'searx')
-rw-r--r--searx/data/__init__.py3
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)