Skip to content

Commit

Permalink
Merge pull request #20 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 375d076 + a2dee42 commit af16b9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gcd_talker/gcd.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
import settngs
from bs4 import BeautifulSoup
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 @@ -960,7 +960,7 @@ def _fetch_issue_by_issue_id(self, issue_id: int) -> GCDIssue:

def _map_comic_issue_to_metadata(self, issue: GCDIssue, series: GCDSeries) -> GenericMetadata:
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.get("publisher_name")),
Expand Down

0 comments on commit af16b9e

Please sign in to comment.