]> git.sesse.net Git - remoteglot-book/commitdiff
Add a small hack for the start position.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 11 Dec 2014 00:36:00 +0000 (01:36 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 11 Dec 2014 00:36:00 +0000 (01:36 +0100)
www/opening-stats.pl

index d74f1add083bddcc89ec6551b4091df760f0e16e..9b68e918540cb047110ae14bd7a12d3e54fbe4e6 100755 (executable)
@@ -31,7 +31,7 @@ while (<$fh>) {
                black_avg_elo => $black_avg_elo * 1,
                num_elo => $num_elo * 1
        };
-       $opening = $openings{$opening_num};
+       $opening = $openings{$opening_num} // 'A00: Start position';
 }
 close $fh;