From 412945626bf74dd60e7d89a85bf6afd855f56c28 Mon Sep 17 00:00:00 2001 From: cuom1999 Date: Mon, 24 Oct 2022 13:29:06 -0500 Subject: [PATCH] Fix bug --- judge/contest_format/ecoo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/judge/contest_format/ecoo.py b/judge/contest_format/ecoo.py index 0451c74..007498c 100644 --- a/judge/contest_format/ecoo.py +++ b/judge/contest_format/ecoo.py @@ -118,7 +118,7 @@ class ECOOContestFormat(DefaultContestFormat): format_html( " +{bonus}", bonus=floatformat(format_data["bonus"]) ) - if format_data["bonus"] + if format_data.get("bonus") else "" )