Made a exception catch more specific.

This commit is contained in:
Tomas Groth 2016-04-06 23:14:23 +02:00
parent fa282cd103
commit 489321316f

View File

@ -764,7 +764,7 @@ class BibleMediaItem(MediaManagerItem):
except IndexError:
log.exception('The second_search_results does not have as many verses as the search_results.')
break
except:
except TypeError:
log.exception('The second_search_results does not have this book.')
break
bible_text = '%s %d%s%d (%s, %s)' % (book, verse.chapter, verse_separator, verse.verse, version,