Skip to content

Commit

Permalink
Give full path to /usr/games/stockfish
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasf committed Feb 15, 2015
1 parent 7dd6e39 commit 21bab13
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ Features
>>> import chess.uci
>>> import time
>>> engine = chess.uci.popen_engine("stockfish")
>>> engine = chess.uci.popen_engine("/usr/games/stockfish")
>>> engine.uci()
()
>>> engine.author
Expand Down
2 changes: 1 addition & 1 deletion chess/uci.py
Original file line number Diff line number Diff line change
Expand Up @@ -1088,7 +1088,7 @@ def spur_spawn_engine(shell, command, cls=SpurEngine):
if __name__ == "__main__":
import time

engine = popen_engine("stockfish")
engine = popen_engine("/usr/games/stockfish")

engine.uci()
print("Name:", engine.name)
Expand Down
2 changes: 1 addition & 1 deletion test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1117,7 +1117,7 @@ def test_scan_headers(self):
class StockfishTestCase(unittest.TestCase):

def setUp(self):
self.engine = chess.uci.popen_engine("stockfish")
self.engine = chess.uci.popen_engine("/usr/games/stockfish")
self.engine.uci()

def tearDown(self):
Expand Down

0 comments on commit 21bab13

Please sign in to comment.