Skip to content

Commit 8f8c2b8

Browse files
committed
Don't include .DS_Store files when searching engine file
An improvement mentioned in issue #35.
1 parent c6e7bd7 commit 8f8c2b8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

python_easy_chess_gui.py

Lines changed: 2 additions & 1 deletion
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.12'
64+
APP_VERSION = 'v1.13'
6565
BOX_TITLE = '{} {}'.format(APP_NAME, APP_VERSION)
6666

6767

@@ -2410,6 +2410,7 @@ def get_engines(self):
24102410
files = os.listdir(engine_path)
24112411
for file in files:
24122412
if not file.endswith('.gz') and not file.endswith('.dll') \
2413+
and not file.endswith('.DS_Store') \
24132414
and not file.endswith('.bin') \
24142415
and not file.endswith('.dat'):
24152416
engine_list.append(file)

0 commit comments

Comments
 (0)