From 56f7732dfbdb5ca3190ecff9d8e5340bf3a7b5b4 Mon Sep 17 00:00:00 2001 From: fsmosca Date: Thu, 10 Mar 2022 13:40:13 +0800 Subject: [PATCH] Fix issue 85 --- chess_artist.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/chess_artist.py b/chess_artist.py index c7bf7f4..f236e80 100644 --- a/chess_artist.py +++ b/chess_artist.py @@ -9,8 +9,8 @@ __author__ = 'fsmosca' __script_name__ = 'Chess Artist' -__version__ = 'v3.1.0' -__credits__ = ['aochoam', 'al75an', 'alxlk', 'ddugovic', 'huytd', 'kennyfrc', +__version__ = 'v3.2.0' +__credits__ = ['aochoam', 'al75an', 'alxlk', 'ddugovic', 'drai8192', 'huytd', 'kennyfrc', 'PixelAim', 'python-chess'] @@ -2745,14 +2745,14 @@ def main(): g.PrintEngineIdName() # Process input file depending on the infile format - if inputFile.endswith('.epd'): + if inputFile.lower().endswith('.epd'): if jobType == 'test': logging.info('Test engine with epd suite') g.TestEngineWithEpd() else: logging.info('Annotate epd') g.AnnotateEpd() - elif inputFile.endswith('.pgn'): + elif inputFile.lower().endswith('.pgn'): if jobType == 'analyze': logging.info('Annotate game') g.AnnotatePgn()