[cli/core] Fix some plurals

This commit is contained in:
derrod 2021-12-03 17:21:48 +01:00
parent 1c8349a28e
commit c8189460c2
2 changed files with 2 additions and 2 deletions

View file

@ -1767,7 +1767,7 @@ class LegendaryCLI:
logger.info('No remaining games found.') logger.info('No remaining games found.')
return return
logger.info(f'Found {len(uplay_games)} games to redeem:') logger.info(f'Found {len(uplay_games)} game(s) to redeem:')
for game in sorted(uplay_games, key=lambda g: g.app_title.lower()): for game in sorted(uplay_games, key=lambda g: g.app_title.lower()):
logger.info(f' - {game.app_title}') logger.info(f' - {game.app_title}')

View file

@ -421,7 +421,7 @@ class LegendaryCore:
# setup and teardown of thread pool takes some time, so only do it when it makes sense. # setup and teardown of thread pool takes some time, so only do it when it makes sense.
use_threads = len(fetch_list) > 5 use_threads = len(fetch_list) > 5
if fetch_list: if fetch_list:
self.log.info(f'Fetching metadata for {len(fetch_list)} apps.') self.log.info(f'Fetching metadata for {len(fetch_list)} app(s).')
if use_threads: if use_threads:
with ThreadPoolExecutor(max_workers=16) as executor: with ThreadPoolExecutor(max_workers=16) as executor:
executor.map(fetch_game_meta, fetch_list, timeout=60.0) executor.map(fetch_game_meta, fetch_list, timeout=60.0)