diff --git a/pypub/chapter.py b/pypub/chapter.py index e10bce6..2f91782 100644 --- a/pypub/chapter.py +++ b/pypub/chapter.py @@ -30,7 +30,7 @@ def __str__(self): def get_image_type(url): - for ending in ['jpg', 'jpeg', '.gif' '.png']: + for ending in ['jpg', 'jpeg', '.gif', '.png']: if url.endswith(ending): return ending else: