From 85ca5df9d2b55d71f0c6e9c550ffdabee13ad804 Mon Sep 17 00:00:00 2001
From: Martin Mares <mj@ucw.cz>
Date: Mon, 1 Mar 2021 12:05:44 +0100
Subject: [PATCH] =?UTF-8?q?mo.score:=20Nechceme=20pou=C5=BE=C3=ADvat=20flo?=
 =?UTF-8?q?atov=C3=A9=20d=C4=9Blen=C3=AD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 mo/score.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mo/score.py b/mo/score.py
index a000cb8b..99f4cb4a 100644
--- a/mo/score.py
+++ b/mo/score.py
@@ -373,12 +373,12 @@ class Score:
                     winners += 1
                 if result.successful:
                     successfulls += 1
-            if successfulls > participants/2:
+            if successfulls > participants // 2:
                 self._add_message(
                     "error",
                     f"Počet úspěšných řešitelů ({successfulls}) převyšuje polovinu celkového počtu účastníků ({participants})"
                 )
-            if winners > successfulls/2:
+            if winners > successfulls // 2:
                 self._add_message(
                     "error",
                     f"Počet vítězů ({winners}) převyšuje polovinu počtu úspěšných řešitelů ({successfulls})"
-- 
GitLab