Spaces:
Sleeping
Sleeping
TheYoBots commited on
Commit ·
4fda15b
1
Parent(s): e61a0a8
White Space Correction - 1
Browse files- engine_wrapper.py +1 -1
engine_wrapper.py
CHANGED
|
@@ -6,6 +6,7 @@ from util import *
|
|
| 6 |
|
| 7 |
import engine_ctrl
|
| 8 |
|
|
|
|
| 9 |
@backoff.on_exception(backoff.expo, BaseException, max_time=120)
|
| 10 |
def create_engine(config, board):
|
| 11 |
cfg = config["engine"]
|
|
@@ -119,7 +120,6 @@ class USIEngine(EngineWrapper):
|
|
| 119 |
)
|
| 120 |
return best_move
|
| 121 |
|
| 122 |
-
|
| 123 |
def stop(self):
|
| 124 |
self.engine.kill_process()
|
| 125 |
|
|
|
|
| 6 |
|
| 7 |
import engine_ctrl
|
| 8 |
|
| 9 |
+
|
| 10 |
@backoff.on_exception(backoff.expo, BaseException, max_time=120)
|
| 11 |
def create_engine(config, board):
|
| 12 |
cfg = config["engine"]
|
|
|
|
| 120 |
)
|
| 121 |
return best_move
|
| 122 |
|
|
|
|
| 123 |
def stop(self):
|
| 124 |
self.engine.kill_process()
|
| 125 |
|