From e8ae44bebdd072b7b555cca5e0b8389d0eb3dbfd Mon Sep 17 00:00:00 2001 From: Karan Jayachandra Date: Fri, 15 Nov 2024 13:08:05 +0100 Subject: Removed the timer from the backend --- src/match_up/controller.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/match_up/controller.py') diff --git a/src/match_up/controller.py b/src/match_up/controller.py index 3b4a6f9..aa72b12 100644 --- a/src/match_up/controller.py +++ b/src/match_up/controller.py @@ -1,7 +1,7 @@ from typing import Tuple from operator import attrgetter from dataclasses import dataclass, field -from match_up.utilities import sample_list, Timer +from match_up.utilities import sample_list from match_up.model import ( Team, Game, @@ -72,7 +72,6 @@ class RoundGenerator: proposal: tuple = tuple() def __post_init__(self) -> None: - self.timer = Timer() self.games = _create_placeholders(self.courts.get_courts(), "---") def _separate_courts(self, courts: dict) -> Tuple[dict, dict]: @@ -123,5 +122,4 @@ class RoundGenerator: self.players.increment_game_count(identifiers) self.proposal = tuple() self.round += 1 - self.timer.start() return self.games -- cgit v1.3.1