mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 01:45:28 +00:00
[cli] Only fetch save games for specified appname (if any) on sync
This commit is contained in:
parent
a70ac2d1f9
commit
09d39b3fe3
|
@ -449,7 +449,7 @@ class LegendaryCLI:
|
||||||
igames = [igame]
|
igames = [igame]
|
||||||
|
|
||||||
# check available saves
|
# 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 = {
|
latest_save = {
|
||||||
save.app_name: save for save in sorted(saves, key=lambda a: a.datetime)
|
save.app_name: save for save in sorted(saves, key=lambda a: a.datetime)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue