From e0beefb29d9837aad8184e173e010f11a81757d4 Mon Sep 17 00:00:00 2001
From: Martin Mares <mj@ucw.cz>
Date: Wed, 6 Sep 2023 22:03:44 +0200
Subject: [PATCH] =?UTF-8?q?Body:=20Opravena=20kontrola=20bod=C5=AF=20vzhle?=
 =?UTF-8?q?dem=20k=20=C3=BAloze=20a=20kolu?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 mo/web/org_contest.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mo/web/org_contest.py b/mo/web/org_contest.py
index 7cf615a3..c9a04392 100644
--- a/mo/web/org_contest.py
+++ b/mo/web/org_contest.py
@@ -1075,7 +1075,7 @@ def process_solution_edits(
     # Parsování bodů
     for edit in edits:
         pts = request.form.get(f"points_{edit.key}")
-        gp = GenPoints.parse(pts)
+        gp = GenPoints.parse(pts, edit.task, ctx.round)
         if gp.error is not None:
             edit_errors[edit.key] = gp.error
         edit.gp = gp
-- 
GitLab