From c0db4ed95908c0774815da22d4e810c2a5a7a266 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Thu, 24 Feb 2022 08:03:07 +0100 Subject: prefix numbers to puzzles --- check_checkers.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'check_checkers.py') diff --git a/check_checkers.py b/check_checkers.py index 1a883b3..90ccc43 100755 --- a/check_checkers.py +++ b/check_checkers.py @@ -219,7 +219,9 @@ def run( if not expected: checker_issues = issues.get(checker.__class__.__name__.lower(), {}) issue = checker_issues.get( - os.path.splitext(os.path.basename(puzzle))[0] + os.path.splitext(os.path.basename(puzzle))[0].split( + '_', maxsplit=1 + )[1] ) if issue: out.write('
(') -- cgit v1.2.3