Remove spurious blank line

This commit is contained in:
Sophist 2017-07-08 12:40:30 +01:00 committed by GitHub
parent ab24e12d80
commit 6144b1ec47

View File

@ -235,7 +235,6 @@ It offers a unique blend of humour, social and political observations and invest
return self.page_index return self.page_index
def preprocess_html(self, soup): def preprocess_html(self, soup):
for figure in soup.findAll('a', attrs = {'href' : lambda x: x and ('jpg' in x or 'png' in x or 'gif' in x)}): for figure in soup.findAll('a', attrs = {'href' : lambda x: x and ('jpg' in x or 'png' in x or 'gif' in x)}):
# makes sure that the link points to the absolute web address # makes sure that the link points to the absolute web address