Merge pull request #2459 from dalf/update-python

Update python
This commit is contained in:
Alexandre Flament 2021-01-12 11:02:58 +01:00 committed by GitHub
commit f7e11fd722
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 8 additions and 15 deletions

View file

@ -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)