fixed HTML generated list for supported cards; closing outfile before finished writing to it
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -62,6 +62,8 @@ print OUTFILE $headerRow . "\n";;
|
|||||||
|
|
||||||
foreach my $key ( @keys )
|
foreach my $key ( @keys )
|
||||||
{
|
{
|
||||||
|
my $cardCount = $#{$data->{$key}} + 1;
|
||||||
|
print "Processing $key ($cardCount cards)\n";
|
||||||
|
|
||||||
print OUTFILE "<h2 style=\"width: 100%\"><span id=\"$key\">";
|
print OUTFILE "<h2 style=\"width: 100%\"><span id=\"$key\">";
|
||||||
print OUTFILE "$key" ;
|
print OUTFILE "$key" ;
|
||||||
@@ -70,10 +72,8 @@ foreach my $key ( @keys )
|
|||||||
|
|
||||||
print OUTFILE "<ul id=\"index_$key\">\n";
|
print OUTFILE "<ul id=\"index_$key\">\n";
|
||||||
print OUTFILE map "\t<li>$_</li>\n", @{$data->{$key}};
|
print OUTFILE map "\t<li>$_</li>\n", @{$data->{$key}};
|
||||||
print OUTFILE "</ul>\n\n";
|
|
||||||
close OUTFILE;
|
|
||||||
print OUTFILE "</ul>\n\n";
|
print OUTFILE "</ul>\n\n";
|
||||||
}
|
}
|
||||||
close OUTFILE;
|
close OUTFILE;
|
||||||
print "$totalCardCount Processed\n";
|
print "$totalCardCount Processed\n";
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user