Skip to content

Commit

Permalink
Merge pull request #151 from darodi/fix_mangaeden_nochapter
Browse files Browse the repository at this point in the history
fix #150 better error handling when no chapter in manga eden
  • Loading branch information
Xonshiz authored Jul 5, 2018
2 parents 2bcd112 + 5adc218 commit da5296e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions comic_dl/manga_eden/mangaChapters.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,6 @@ def id_lookup(self, json_source):
sorted(chapters.items(), key=lambda s: s[0])

if chapters:
return (chapters, str(json_source["title"]))
return chapters, str(json_source["title"])
else:
return None
return None, str(json_source["title"])

0 comments on commit da5296e

Please sign in to comment.