From 0cd5f7d49d6c3977285d41a1f23e5fb772feec04 Mon Sep 17 00:00:00 2001 From: Jakub Pokrywka Date: Mon, 16 Nov 2020 15:09:25 +0100 Subject: [PATCH] change summing all B* and C* task points instead of only max --- count-points.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/count-points.pl b/count-points.pl index ca6b8ac..dfe4f75 100755 --- a/count-points.pl +++ b/count-points.pl @@ -52,7 +52,7 @@ sub update_total { my $section = get_section($report_file_path); - if (defined $section && $section ne 'A') { + if (defined $section && ($section ne 'A' && $section ne 'B' && $section ne 'C' )) { if ($section_points{$section} > 0) { print "UWAGA: TYLKO ZADANIE Z NAJWIĘKSZĄ LICZBĄ PUNKTÓW BĘDZIE LICZONE DLA DZIAŁU $section\n"; }