Fix a method call with too many parentheses.

This commit is contained in:
Tomas Groth 2016-04-10 22:13:33 +02:00
parent 489321316f
commit 91714caedf

View File

@ -504,7 +504,7 @@ class CWExtract(RegistryProperties):
soup = get_soup_for_bible_ref(chapter_url) soup = get_soup_for_bible_ref(chapter_url)
if not soup: if not soup:
return None return None
content = soup.find_all(('h4', {'class': 'small-header'})) content = soup.find_all('h4', {'class': 'small-header'})
if not content: if not content:
log.error('No books found in the Crosswalk response.') log.error('No books found in the Crosswalk response.')
send_error_message('parse') send_error_message('parse')