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