From c583f63c8caf272c5f81f47ac7fee4b05dc9798a Mon Sep 17 00:00:00 2001 From: Mizaki Date: Sun, 14 May 2023 23:39:23 +0100 Subject: [PATCH] Attribution for metadata provider on command line --- comictaggerlib/cli.py | 2 ++ comictaggerlib/issueidentifier.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/comictaggerlib/cli.py b/comictaggerlib/cli.py index cfca3e0..33f63b7 100644 --- a/comictaggerlib/cli.py +++ b/comictaggerlib/cli.py @@ -82,6 +82,8 @@ class CLI: logger.info("dry-run option was set, so nothing was written, but here is the final set of tags:") print("dry-run option was set, so nothing was written, but here is the final set of tags:") print(f"{md}") + + print(f"Metadata provided by {self.current_talker().name} {self.current_talker().website}") return True def display_match_set_for_choice(self, label: str, match_set: MultipleMatch) -> None: diff --git a/comictaggerlib/issueidentifier.py b/comictaggerlib/issueidentifier.py index 7d0e3b0..c382737 100644 --- a/comictaggerlib/issueidentifier.py +++ b/comictaggerlib/issueidentifier.py @@ -397,7 +397,7 @@ class IssueIdentifier: self.log_msg("Not enough info for a search!") return [] - self.log_msg("Going to search for:") + self.log_msg(f"Using {self.talker.name} to search for:") self.log_msg("\tSeries: " + keys["series"]) self.log_msg("\tIssue: " + keys["issue_number"]) if keys["issue_count"] is not None: