From f6f8cb4f1bf643a8d29f917d5c977cb2343f2672 Mon Sep 17 00:00:00 2001 From: Karan Jayachandra Date: Wed, 16 Oct 2024 11:46:39 +0200 Subject: Clean folder and configuration --- model.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'model.py') 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 = { -- cgit v1.3.1