Add attrib at the end of the CLI file run

This commit is contained in:
Mizaki 2023-05-15 16:46:31 +01:00
parent c583f63c8c
commit 70d544b7bd

View File

@ -82,8 +82,6 @@ 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:
@ -186,6 +184,8 @@ class CLI:
self.post_process_matches(match_results)
print(f"\nFiles tagged with metadata provided by {self.current_talker().name} {self.current_talker().website}")
def create_local_metadata(self, ca: ComicArchive) -> GenericMetadata:
md = GenericMetadata()
md.set_default_page_list(ca.get_number_of_pages())