Skip to content

Commit

Permalink
Skip chapters that don't have an associated group. #8
Browse files Browse the repository at this point in the history
  • Loading branch information
funkyhippo committed Dec 21, 2021
1 parent b1f281d commit 80d2b0d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions proxy/sources/mangadex.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,10 @@ def md_api_common(self, meta_id):
chapter_group = relationship["id"]
break

# Bandaid fix but it should resolve most resolution issues
if chapter_group is None:
continue

if chapter_number in chapter_dict:
chapter_obj = chapter_dict[chapter_number]
if not chapter_obj["title"]:
Expand Down

0 comments on commit 80d2b0d

Please sign in to comment.