From e62a8e2411ed7aef7278c69cfe814fc4a89ab7e2 Mon Sep 17 00:00:00 2001
From: Martin Mares <mj@ucw.cz>
Date: Sun, 27 Aug 2023 15:38:55 +0200
Subject: [PATCH] =?UTF-8?q?V=C3=BDsledkovka:=20Ignorujeme=20=C5=99e=C5=A1e?=
 =?UTF-8?q?n=C3=AD=20s=20flagem=20is=5Fempty?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 mo/score.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/mo/score.py b/mo/score.py
index ebb9cd97..0e848d4c 100644
--- a/mo/score.py
+++ b/mo/score.py
@@ -230,6 +230,7 @@ class Score:
         sols: List[db.Solution] = sess.query(db.Solution).filter(
             db.Solution.user_id.in_(user_id_subq),
             db.Solution.task_id.in_(task_ids),
+            db.Solution.is_empty == False
         ).all()
         for sol in sols:
             if sol.user_id in self._results:
-- 
GitLab