Open tsoj opened 5 years ago
I found the same issue. Is there a workaround? I put: def resetBoard(self): self.fens = [] ...
I can't exactly remember what I did, but I think it was similar to what you did. However, as this library isn't really active anymore and as there are still some unfixed issues I would suggest using python chess which supports easy pgn parsing.
Got it. Thanks!
In class PgnToFen the function resetBoard doesn't reset self.fens[] which results in weird behavior of the function pgnFile.