From 810603a0a3036855a58e184785c6b25d55c7dd0e Mon Sep 17 00:00:00 2001 From: AloneH Date: Thu, 22 Oct 2020 09:28:00 +0800 Subject: [PATCH] fix: use double quotes --- fps/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fps/parser.py b/fps/parser.py index c0233207f..5d4233116 100644 --- a/fps/parser.py +++ b/fps/parser.py @@ -53,7 +53,7 @@ def _parse_one_problem(self, node): raise ValueError("Invalid time limit unit") problem["time_limit"]["unit"] = item.attrib.get("unit", "s") value = 0 - if self.version != '1.1': + if self.version != "1.1": value = float(item.text) else: value = int(item.text)