Skip to content

Commit

Permalink
Fix parsing of ci credits.
Browse files Browse the repository at this point in the history
  • Loading branch information
bpepple committed Nov 27, 2024
1 parent 1013815 commit 80286fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions darkseid/comicinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,11 +406,11 @@ def get_age_rating(age_text: str) -> AgeRatings | None:
n.tag in ["Writer", "Penciller", "Inker", "Colorist", "Letterer", "Editor"]
and n.text is not None
):
for name in self._split_sting(n.text, [";"]):
for name in self._split_sting(n.text, [";", ","]):
md.add_credit(Credit(name.strip(), [Role(n.tag)]))

if n.tag == "CoverArtist" and n.text is not None:
for name in self._split_sting(n.text, [";"]):
for name in self._split_sting(n.text, [";", ","]):
md.add_credit(Credit(name.strip(), [Role("Cover")]))

# parse page data now
Expand Down

0 comments on commit 80286fb

Please sign in to comment.