Skip to content

Commit

Permalink
Fix issue 85
Browse files Browse the repository at this point in the history
  • Loading branch information
fsmosca committed Mar 10, 2022
1 parent ea1c37e commit 56f7732
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions chess_artist.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']


Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit 56f7732

Please sign in to comment.