From 4f44539ec7df5f4e989a5860b700ac4d09f20380 Mon Sep 17 00:00:00 2001 From: Audionut Date: Fri, 20 Dec 2024 21:29:00 +1000 Subject: [PATCH] add proper user selection check --- src/prep.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/prep.py b/src/prep.py index 6109f6b02..2de17e554 100644 --- a/src/prep.py +++ b/src/prep.py @@ -810,8 +810,8 @@ async def process_tracker(tracker_name, meta): if not tracker_status[tracker_name]['banned'] and not tracker_status[tracker_name]['skipped'] and not tracker_status[tracker_name]['dupe']: console.print(f"[green]Tracker '{tracker_name}' passed all checks.[/green]") if not meta['unattended'] or (meta['unattended'] and meta.get('unattended-confirm', False)): - cli_ui.ask_yes_no(f"Passed all tracker checks, upload to {tracker_name}?", default=False) - tracker_status[tracker_name]['upload'] = False + user_confirmed = cli_ui.ask_yes_no(f"Passed all tracker checks, upload to {tracker_name}?", default=False) + tracker_status[tracker_name]['upload'] = user_confirmed else: tracker_status[tracker_name]['upload'] = True successful_trackers += 1