From f5c3cb7afafc3d25380e681230263320ddcbbdfa Mon Sep 17 00:00:00 2001 From: Alexandre Flament Date: Tue, 12 Jan 2021 09:45:16 +0100 Subject: [mod] drop Python 3.5 support --- searx/data/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'searx/data') 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) -- cgit v1.2.3