[cli] Just fix some spellcheck complaints

"shoouldn't" lol
This commit is contained in:
derrod 2022-06-24 13:43:31 +02:00
parent dcfdfbc520
commit e5ec8e25b3

View file

@ -850,7 +850,7 @@ class LegendaryCLI:
base_game = self.core.get_game(app_name) base_game = self.core.get_game(app_name)
# check if base_game is actually installed # check if base_game is actually installed
if not self.core.is_installed(app_name): if not self.core.is_installed(app_name):
# download mode doesn't care about whether or not something's installed # download mode doesn't care about whether something's installed
if not args.no_install: if not args.no_install:
logger.fatal(f'Base game "{app_name}" is not installed!') logger.fatal(f'Base game "{app_name}" is not installed!')
exit(1) exit(1)
@ -948,7 +948,7 @@ class LegendaryCLI:
preferred_cdn=args.preferred_cdn, preferred_cdn=args.preferred_cdn,
disable_https=args.disable_https) disable_https=args.disable_https)
# game is either up to date or hasn't changed, so we have nothing to do # game is either up-to-date or hasn't changed, so we have nothing to do
if not analysis.dl_size: if not analysis.dl_size:
old_igame = self.core.get_installed_game(game.app_name) old_igame = self.core.get_installed_game(game.app_name)
logger.info('Download size is 0, the game is either already up to date or has not changed. Exiting...') logger.info('Download size is 0, the game is either already up to date or has not changed. Exiting...')
@ -2222,7 +2222,7 @@ class LegendaryCLI:
if os.name != 'nt' and not prefix: if os.name != 'nt' and not prefix:
logger.info('Registry entries in prefixes (if any) have not been removed. ' logger.info('Registry entries in prefixes (if any) have not been removed. '
f'This shoouldn\'t cause any issues as the overlay will simply fail to load.') f'This shouldn\'t cause any issues as the overlay will simply fail to load.')
return return
logger.info('Removing registry entries...') logger.info('Removing registry entries...')
@ -2230,7 +2230,7 @@ class LegendaryCLI:
if os.name != 'nt': if os.name != 'nt':
logger.info(f'Registry entries in prefixes other than "{prefix}" were not removed. ' logger.info(f'Registry entries in prefixes other than "{prefix}" were not removed. '
f'This shoouldn\'t cause any issues as the overlay will simply fail to load.') f'This shouldn\'t cause any issues as the overlay will simply fail to load.')
logger.info('Deleting overlay installation...') logger.info('Deleting overlay installation...')
self.core.remove_overlay_install() self.core.remove_overlay_install()