diff options
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) |