[cli] Only fetch save games for specified appname (if any) on sync

This commit is contained in:
derrod 2023-05-14 02:17:02 +02:00
parent a70ac2d1f9
commit 09d39b3fe3

View file

@ -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)
}