diff options
| author | Karan Jayachandra <mail@karanjayachandra.com> | 2024-11-15 13:08:05 +0100 |
|---|---|---|
| committer | Karan Jayachandra <mail@karanjayachandra.com> | 2024-11-15 13:08:05 +0100 |
| commit | e8ae44bebdd072b7b555cca5e0b8389d0eb3dbfd (patch) | |
| tree | 47d7827bd3f408e81f4ca604011b4d035acc6b6b /src/match_up/controller.py | |
| parent | ffaca550cbbf89942fbf5b82ad911d75da1c3c51 (diff) | |
Removed the timer from the backend
Diffstat (limited to 'src/match_up/controller.py')
| -rw-r--r-- | src/match_up/controller.py | 4 |
1 files changed, 1 insertions, 3 deletions
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 |
