Correct 'no errors after x' message

This commit is contained in:
Midgard 2024-05-21 12:22:03 +02:00
parent dd2435e0ab
commit d5f93944b1
Signed by: midgard
GPG key ID: 511C112F1331BBB4

View file

@ -38,7 +38,7 @@ def main():
label = "Errors"
for error_line, error_line_ng in zip(
report_errors.report_errors(errors_tail) or [f"No errors (after {numbers_tail[-1].recognized_number})! 🎉"],
report_errors.report_errors(errors_tail) or [f"No errors (after {numbers_tail[0].recognized_number})! 🎉"],
report_errors.report_errors(errors_ng) or ["No errors! 🎉"]
):
table.row(