Here is part of the error:
"
File "C:\Users\13nik\Documents\vscode\chessAnylysisV3\Python\Dependecies\OpenChess\chess_review.py", line 1393, in review_move
if move_captures_higher_piece(board, move):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\13nik\Documents\vscode\chessAnylysisV3\Python\Dependecies\OpenChess\chess_review.py", line 1038, in move_captures_higher_piece
if board.piece_type_at(move.from_square) < board.piece_type_at(move.to_square):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: '<' not supported between instances of 'int' and 'NoneType'
"
Here is part of the error:
" File "C:\Users\13nik\Documents\vscode\chessAnylysisV3\Python\Dependecies\OpenChess\chess_review.py", line 1393, in review_move
if move_captures_higher_piece(board, move): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\13nik\Documents\vscode\chessAnylysisV3\Python\Dependecies\OpenChess\chess_review.py", line 1038, in move_captures_higher_piece if board.piece_type_at(move.from_square) < board.piece_type_at(move.to_square): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: '<' not supported between instances of 'int' and 'NoneType' "