Merge branch 'mizaki-fix_add_fields' into develop

This commit is contained in:
Timmy Welch 2023-06-22 17:51:26 -07:00
commit 635cb037f1
2 changed files with 5 additions and 2 deletions

View File

@ -46,7 +46,7 @@ def map_comic_issue_to_metadata(
metadata.issue = utils.xlate(IssueString(issue_results.issue_number).as_string())
# Rely on comic talker to validate this number
metadata.issue_count = utils.xlate_int(issue_results.series.volume)
metadata.issue_count = utils.xlate_int(issue_results.series.count_of_issues)
if issue_results.series.format:
metadata.format = issue_results.series.format
@ -102,6 +102,9 @@ def map_comic_issue_to_metadata(
if issue_results.critical_rating:
metadata.critical_rating = utils.xlate_float(issue_results.critical_rating)
if issue_results.maturity_rating:
metadata.maturity_rating = issue_results.maturity_rating
if issue_results.language:
metadata.language = issue_results.language

View File

@ -209,7 +209,7 @@ cv_md = comicapi.genericmetadata.GenericMetadata(
month=date[1],
year=date[2],
day=date[0],
issue_count=None,
issue_count=6,
volume=None,
genre=None,
language=None,