Skip to content

Only display metadata source info if results were found#721

Merged
lordwelch merged 2 commits intocomictagger:developfrom
kcgthb:online_results_info
Feb 9, 2025
Merged

Only display metadata source info if results were found#721
lordwelch merged 2 commits intocomictagger:developfrom
kcgthb:online_results_info

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 <[email protected]>
@lordwelch lordwelch merged commit ea37f96 into comictagger:develop Feb 9, 2025
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