diff options
| author | Karan Jayachandra <karan.jayachandra@nxp.com> | 2024-10-16 11:46:39 +0200 |
|---|---|---|
| committer | Karan Jayachandra <karan.jayachandra@nxp.com> | 2024-10-16 11:46:39 +0200 |
| commit | f6f8cb4f1bf643a8d29f917d5c977cb2343f2672 (patch) | |
| tree | 8bbd6d244e0f19196a71d67274f25da29f01a44a /model.py | |
| parent | fbed8387a39e42cee7235384d7f8380ee158a3b3 (diff) | |
Clean folder and configuration
Diffstat (limited to 'model.py')
| -rw-r--r-- | model.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -55,10 +55,10 @@ class CourtList: @dataclass class PlayerList: - location: Path + location: str def __post_init__(self) -> None: - with open(self.location, newline="") as file: + with open("data/" + self.location, newline="") as file: pointer = reader(file) next(pointer, None) players = { |
