diff options
author | Martin Fischer <martin@push-f.com> | 2022-02-24 08:03:07 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2022-02-24 08:03:07 +0100 |
commit | c0db4ed95908c0774815da22d4e810c2a5a7a266 (patch) | |
tree | 830aaa3f3f2406b98acb59b67b25e7d02bafb9b0 /check_checkers.py | |
parent | 7c914668646504077caae217ca13332f6244f7d9 (diff) |
prefix numbers to puzzles
Diffstat (limited to 'check_checkers.py')
-rwxr-xr-x | check_checkers.py | 4 |
1 files changed, 3 insertions, 1 deletions
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('<br>(') |