aboutsummaryrefslogtreecommitdiff
path: root/model.py
diff options
context:
space:
mode:
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 = {