Skip to content

Commit ffe9003

Browse files
committed
fix last tearoff in review
1 parent c0c9999 commit ffe9003

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bullet/problems/logic/scanner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def parse_barcode(
6464
)
6565

6666
problem_number = int(match.group("problem"))
67-
if problem_number < venue.category.first_problem:
67+
if problem_number != 0 and problem_number < venue.category.first_problem:
6868
raise ValueError(f"Problem {problem_number} is not valid for this category.")
6969

7070
if allow_endmark and problem_number == 0:

0 commit comments

Comments
 (0)