summaryrefslogtreecommitdiff
path: root/model.py
diff options
context:
space:
mode:
authorKaran Jayachandra <karan.jayachandra@nxp.com>2024-10-16 11:46:39 +0200
committerKaran Jayachandra <karan.jayachandra@nxp.com>2024-10-16 11:46:39 +0200
commitf6f8cb4f1bf643a8d29f917d5c977cb2343f2672 (patch)
tree8bbd6d244e0f19196a71d67274f25da29f01a44a /model.py
parentfbed8387a39e42cee7235384d7f8380ee158a3b3 (diff)
Clean folder and configuration
Diffstat (limited to 'model.py')
-rw-r--r--model.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/model.py b/model.py
index 3e76085..ba5cb9b 100644
--- a/model.py
+++ b/model.py
@@ -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 = {