Skip to content

Commit

Permalink
fix: use double quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
HULANG-BTB committed Oct 22, 2020
1 parent a6accee commit 810603a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fps/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 810603a

Please sign in to comment.