Private GIT

Skip to content
Snippets Groups Projects
Commit 044081be authored by Dustyn Gibson's avatar Dustyn Gibson
Browse files

Merge branch 'fix-imdbPopular'

parents dcf16b78 94f5d49b
No related branches found
No related tags found
No related merge requests found
......@@ -74,7 +74,12 @@ class imdbPopular:
show['rating'] = None
show['votes'] = None
show['outline'] = td.find("span", {"class": "outline"}).contents[0]
outline = td.find("span", {"class": "outline"})
if outline:
show['outline'] = outline.contents[0]
else:
show['outline'] = u''
popular_shows.append(show)
return popular_shows
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment