dont hardcode stockfish path

This commit is contained in:
Thomas Lindner 2022-12-29 19:10:41 +01:00
parent f11f25f897
commit edcd2902c2

View file

@ -32,7 +32,7 @@ class BlunderEvaluator:
}
def __init__(self, engine_settings: dict = default_engine_settings):
self.engine = Stockfish("/usr/bin/stockfish")
self.engine = Stockfish()
self.settings = engine_settings
self.engine.update_engine_parameters(self.settings)
self.current_evaluation = (