Skip to content

Commit

Permalink
Merge branch 'master' of github.com:nodchip/Stockfish
Browse files Browse the repository at this point in the history
  • Loading branch information
nodchip committed Jul 13, 2020
2 parents 686a5a0 + df40de9 commit 7f4b72c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/pgn_to_plain.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def parse_result(result_str:str, board:chess.Board) -> int:
if board.turn == chess.WHITE:
return 1
else:
return 0
return -1
else:
print("illeagal result", result_str)
raise ValueError
Expand Down

0 comments on commit 7f4b72c

Please sign in to comment.