Skip to content

Commit

Permalink
add proper user selection check
Browse files Browse the repository at this point in the history
  • Loading branch information
Audionut committed Dec 20, 2024
1 parent 6dea06f commit 4f44539
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/prep.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4f44539

Please sign in to comment.