diff options
| author | Alexandre Flament <alex@al-f.net> | 2021-01-12 11:02:58 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-12 11:02:58 +0100 |
| commit | f7e11fd7222363a72a8fa33cf69190f64a3880bd (patch) | |
| tree | 74f724c6f28e5557bc68e893cc889d792af5aec3 /searx/data | |
| parent | 9c55d772e98f5e51da4a34389dc240cfb3b14852 (diff) | |
| parent | 8989bc76cb9c576792a909bd95e553a16ec824be (diff) | |
Merge pull request #2459 from dalf/update-python
Update python
Diffstat (limited to 'searx/data')
| -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) |