Skip to content

Commit 009ca46

Browse files
committed
Update python_easy_chess_gui.py
* Do not explicitly set the UCI_AnalyseMode option, let the program set it based on engine json file.
1 parent 6db3d4a commit 009ca46

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

python_easy_chess_gui.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161

6262

6363
APP_NAME = 'Python Easy Chess GUI'
64-
APP_VERSION = 'v1.1'
64+
APP_VERSION = 'v1.2'
6565
BOX_TITLE = '{} {}'.format(APP_NAME, APP_VERSION)
6666

6767

@@ -420,12 +420,6 @@ def configure_engine(self):
420420
logging.exception('{Failed to configure '
421421
'engine}')
422422

423-
# Don't use UCI_Analyse mode
424-
try:
425-
self.engine.configure({'UCI_AnalyseMode': False})
426-
except Exception:
427-
logging.exception('Failed to set UCI_AnalyseMode.')
428-
429423
def run(self):
430424
"""
431425
Run engine to get search info and bestmove. If there is error we

0 commit comments

Comments
 (0)