dont hardcode stockfish path
This commit is contained in:
parent
f11f25f897
commit
edcd2902c2
|
@ -32,7 +32,7 @@ class BlunderEvaluator:
|
||||||
}
|
}
|
||||||
|
|
||||||
def __init__(self, engine_settings: dict = default_engine_settings):
|
def __init__(self, engine_settings: dict = default_engine_settings):
|
||||||
self.engine = Stockfish("/usr/bin/stockfish")
|
self.engine = Stockfish()
|
||||||
self.settings = engine_settings
|
self.settings = engine_settings
|
||||||
self.engine.update_engine_parameters(self.settings)
|
self.engine.update_engine_parameters(self.settings)
|
||||||
self.current_evaluation = (
|
self.current_evaluation = (
|
||||||
|
|
Loading…
Reference in a new issue