From 7ac9ec7b5f9a0aa35eb7042e8184e1d46c085707 Mon Sep 17 00:00:00 2001 From: derrod Date: Wed, 26 Jan 2022 14:12:48 +0100 Subject: [PATCH] [cli] sync-saves: Skip unconfigured games when using --yes --- legendary/cli.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/legendary/cli.py b/legendary/cli.py index 348d88a..11d13b4 100644 --- a/legendary/cli.py +++ b/legendary/cli.py @@ -473,6 +473,10 @@ class LegendaryCLI: # if there is no saved save path, try to get one if not igame.save_path: + if args.yes: + logger.info(f'Save path for this title has not been set, skipping due to --yes') + continue + save_path = self.core.get_save_path(igame.app_name, platform=igame.platform) # ask user if path is correct if computing for the first time