Small fixes after merge.

This commit is contained in:
Mizaki 2022-11-07 02:03:36 +00:00
parent c34902449f
commit 629b28f258
3 changed files with 6 additions and 3 deletions

View File

@ -118,7 +118,7 @@ def display_match_set_for_choice(
else:
notes = (
f"Tagged with ComicTagger {ctversion.version} using info from Comic Vine on"
f" {datetime.now():%Y-%m-%d %H:%M:%S}. [Issue ID {cv_md.issue_id}]"
f" {datetime.now():%Y-%m-%d %H:%M:%S}. [Issue ID {ct_md.issue_id}]"
)
md.overlay(ct_md.replace(notes=utils.combine_notes(md.notes, notes, "Tagged with ComicTagger")))
@ -472,7 +472,7 @@ def process_file_cli(
else:
notes = (
f"Tagged with ComicTagger {ctversion.version} using info from Comic Vine on"
f" {datetime.now():%Y-%m-%d %H:%M:%S}. [Issue ID {cv_md.issue_id}]"
f" {datetime.now():%Y-%m-%d %H:%M:%S}. [Issue ID {ct_md.issue_id}]"
)
md.overlay(ct_md.replace(notes=utils.combine_notes(md.notes, notes, "Tagged with ComicTagger")))

View File

@ -1813,7 +1813,7 @@ Have fun!
else:
notes = (
f"Tagged with ComicTagger {ctversion.version} using info from Comic Vine on"
f" {datetime.now():%Y-%m-%d %H:%M:%S}. [Issue ID {cv_md.issue_id}]"
f" {datetime.now():%Y-%m-%d %H:%M:%S}. [Issue ID {ct_md.issue_id}]"
)
md.overlay(ct_md.replace(notes=utils.combine_notes(md.notes, notes, "Tagged with ComicTagger")))

View File

@ -59,6 +59,9 @@ def map_comic_issue_to_metadata(
if use_year_volume:
metadata.volume = issue_results["volume"]["start_year"]
metadata.tag_origin = source
metadata.issue_id = issue_results["id"]
metadata.notes = (
f"Tagged with ComicTagger {ctversion.version} using info from {source} on"
f" {datetime.now():%Y-%m-%d %H:%M:%S}. [Issue ID {issue_results['id']}]"