summaryrefslogtreecommitdiff
path: root/jfr_playoff/dto.py
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2023-02-12 15:31:29 +0100
committeremkael <emkael@tlen.pl>2023-02-12 15:31:29 +0100
commit7cc52b5a1978efedc62729145db12cb8a3efb447 (patch)
treec57f601c0736cc6420f7d057fd5f10a12c694ec9 /jfr_playoff/dto.py
parentade973c25ca403c5385983f42fbf60c906e25b9b (diff)
Do not allow resolving pre-selected teams if there are yet unknown teams
Diffstat (limited to 'jfr_playoff/dto.py')
-rw-r--r--jfr_playoff/dto.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/jfr_playoff/dto.py b/jfr_playoff/dto.py
index cc7f618..44fe8cb 100644
--- a/jfr_playoff/dto.py
+++ b/jfr_playoff/dto.py
@@ -14,6 +14,7 @@ class Team(object):
score = 0.0
place = None
known_teams = 0
+ unknown_teams = 0
selected_team = -1
@property