From: Martin Mares Date: Thu, 3 Jul 2003 08:57:45 +0000 (+0000) Subject: Print the table of error codes only in detail mode. X-Git-Tag: python-dummy-working~477 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=67625d9baadd2fcafc37090976a7b781591b8938;p=eval.git Print the table of error codes only in detail mode. --- diff --git a/bin/mo-score b/bin/mo-score index e04c47b..358b20a 100755 --- a/bin/mo-score +++ b/bin/mo-score @@ -60,6 +60,7 @@ foreach $u (keys %users) { $ttest = $1; $tpts = $2; $trem = $3; + $ttest =~ s/[^0-9]//g; $known_tests{$t}{$ttest} = 1; $results{$u}{$t}{$ttest} = $tpts; $remarks{$u}{$t}{$ttest} = $trem; @@ -192,9 +193,11 @@ if ($debug) { $hdr = 0; } print "\n"; - print "

Error codes

\n"; + if ($detail) { + print "

Error codes

\n"; + } print "\n"; } elsif ($tex) { print "\\error{TeX output not supported yet!}\n";