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"; }