Evenwins (Python): Refactored

This commit is contained in:
Martin Thoma
2022-04-02 09:01:47 +02:00
parent 8b0bd1ad65
commit 71bae5ded3
4 changed files with 91 additions and 130 deletions

View File

@@ -1,9 +1,9 @@
#!/usr/bin/env python3
# This data is meant to be read-only, so we are storing it in a tuple
import json
# This data is meant to be read-only, so we are storing it in a tuple
with open("data.json") as f:
DATA = tuple(json.load(f))