X-Git-Url: https://git.sesse.net/?p=remoteglot;a=blobdiff_plain;f=remoteglot.pl;h=97003acd416b8660f936be325e098b634f8e79af;hp=48dbf96b45aec3f843e7547d992ad4d980d1149b;hb=dc3d19f5d7977bfa3eda1af4aa5696a10a4aebf1;hpb=7860e16113a033c5243a997d6d7d97a73f0f0263 diff --git a/remoteglot.pl b/remoteglot.pl index 48dbf96..97003ac 100755 --- a/remoteglot.pl +++ b/remoteglot.pl @@ -620,7 +620,7 @@ sub complete_using_tbprobe { return if ($pos->num_pieces() > 7); my $fen = $pos->fen(); - my $pgn_text = `fathom --path=/srv/syzygy "$fen"`; + my $pgn_text = `$remoteglotconf::fathom_cmdline "$fen"`; my $pgn = Chess::PGN::Parse->new(undef, $pgn_text); return if (!defined($pgn) || !$pgn->read_game() || ($pgn->result ne '0-1' && $pgn->result ne '1-0')); $pgn->quick_parse_game;