[cli] Strip whitespace from game titles

Yoku's Island Express has a \t for some reason...
This commit is contained in:
derrod 2021-09-10 16:09:15 +02:00
parent 6b4cf6558b
commit cffd9040f7

View file

@ -192,7 +192,7 @@ class LegendaryCLI:
print('\nAvailable games:')
for game in games:
print(f' * {game.app_title} (App name: {game.app_name} | Version: {game.app_version})')
print(f' * {game.app_title.strip()} (App name: {game.app_name} | Version: {game.app_version})')
if not game.app_version:
_custom_attribs = game.metadata.get('customAttributes', {})
_store = _custom_attribs.get('ThirdPartyManagedApp', {}).get('value', 'Unknown')