Skip to content

Commit

Permalink
Updated error type
Browse files Browse the repository at this point in the history
  • Loading branch information
cballenar committed Aug 20, 2017
1 parent 4d76a62 commit 1dfd28c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slidegrubber/grub.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def get_slides_markup(self, soup):
slides_markup = soup.find_all('img', attrs={'class': 'slide_image'})

if not slides_markup:
raise Exception('Dynamic slides are not supported')
raise TypeError('Dynamic slides are not supported')

sorted_slides_markup = []
for slide in slides_markup:
Expand Down

0 comments on commit 1dfd28c

Please sign in to comment.