Skip to content

Only display metadata source info if results were found #721

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 9, 2025

Conversation

kcgthb
Copy link
Contributor

@kcgthb kcgthb commented Jan 28, 2025

The CLI systematically displays a line like

2025-01-27T17:40:54 | comictaggerlib.cli | INFO | Files tagged with metadata provided by Comic Vine https://comicvine.gamespot.com

when -o is used, even if not matches were found and no tags were written, Which may be quite confusing.

This PR proposes to only display the line if results were actually found online.

Make sure `results` exists before checking for `online_results`

Co-authored-by: Timmy Welch <timmy@narnian.us>
@lordwelch lordwelch merged commit ea37f96 into comictagger:develop Feb 9, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants