From cffd9040f7f57d2d1e3e18143e427fa89dc17c25 Mon Sep 17 00:00:00 2001 From: derrod Date: Fri, 10 Sep 2021 16:09:15 +0200 Subject: [PATCH] [cli] Strip whitespace from game titles Yoku's Island Express has a \t for some reason... --- legendary/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legendary/cli.py b/legendary/cli.py index 3d25827..6e96708 100644 --- a/legendary/cli.py +++ b/legendary/cli.py @@ -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')