[mod] drop Python 3.5 support

This commit is contained in:
Alexandre Flament 2021-01-12 09:45:16 +01:00
parent 8d0312d014
commit f5c3cb7afa
3 changed files with 7 additions and 13 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)