Spaces:
Sleeping
Sleeping
Fabian Fichter commited on
Commit ·
c31cb65
1
Parent(s): 286409d
Fix USI option parsing
Browse files- engine_wrapper.py +1 -1
engine_wrapper.py
CHANGED
|
@@ -71,7 +71,7 @@ class USIEngine(EngineWrapper):
|
|
| 71 |
self.engine.usi()
|
| 72 |
|
| 73 |
if options:
|
| 74 |
-
for name, value in options
|
| 75 |
self.engine.setoption(name, value)
|
| 76 |
|
| 77 |
def first_search(self, board, movetime):
|
|
|
|
| 71 |
self.engine.usi()
|
| 72 |
|
| 73 |
if options:
|
| 74 |
+
for name, value in options.items():
|
| 75 |
self.engine.setoption(name, value)
|
| 76 |
|
| 77 |
def first_search(self, board, movetime):
|