Skip to content

Commit

Permalink
Merge pull request #31 from mizaki/MetadataOrigin
Browse files Browse the repository at this point in the history
TagOrigin to MetadataOrigin
  • Loading branch information
mizaki authored Jun 22, 2024
2 parents 7c9bf52 + 35cff0e commit cc272aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions metron_talker/metron.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
import mokkari
import settngs
from comicapi import utils
from comicapi.genericmetadata import ComicSeries, GenericMetadata, TagOrigin
from comicapi.genericmetadata import ComicSeries, GenericMetadata, MetadataOrigin
from comicapi.issuestring import IssueString
from comictalker.comiccacher import ComicCacher
from comictalker.comiccacher import Issue as CCIssue
Expand Down Expand Up @@ -509,7 +509,7 @@ def _fetch_series_cover(self, series_id: int, issue_count: int) -> str:
def _map_comic_issue_to_metadata(self, issue: Issue, series: Series) -> GenericMetadata:
# Cover both IssueList (with less data) and Issue
md = GenericMetadata(
tag_origin=TagOrigin(self.id, self.name),
data_origin=MetadataOrigin(self.id, self.name),
issue_id=utils.xlate(issue.id),
series_id=utils.xlate(series.id),
publisher=utils.xlate(series.publisher.name),
Expand Down

0 comments on commit cc272aa

Please sign in to comment.