From 09d39b3fe35f4e66fb057b7181d0fcbeaf6f99a1 Mon Sep 17 00:00:00 2001 From: derrod Date: Sun, 14 May 2023 02:17:02 +0200 Subject: [PATCH] [cli] Only fetch save games for specified appname (if any) on sync --- legendary/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legendary/cli.py b/legendary/cli.py index 976d3fd..aec3a40 100644 --- a/legendary/cli.py +++ b/legendary/cli.py @@ -449,7 +449,7 @@ class LegendaryCLI: igames = [igame] # check available saves - saves = self.core.get_save_games() + saves = self.core.get_save_games(args.app_name if args.app_name else '') latest_save = { save.app_name: save for save in sorted(saves, key=lambda a: a.datetime) }