fix spacing

This commit is contained in:
bobbysteel 2017-06-18 04:10:07 +01:00 committed by GitHub
parent 61bc5005fa
commit fd1b52d163

View File

@ -70,11 +70,11 @@ class FinancialTimes(BasicNewsRecipe):
br.open(cover) br.open(cover)
except: except:
index = 'http://en.kiosko.net/uk/np/ft_uk.html' index = 'http://en.kiosko.net/uk/np/ft_uk.html'
soup = self.index_to_soup(index) soup = self.index_to_soup(index)
for image in soup.findAll('img', src=True): for image in soup.findAll('img', src=True):
if image['src'].endswith('750.jpg'): if image['src'].endswith('750.jpg'):
return image['src'] return image['src']
self.log("\nCover unavailable") self.log("\nCover unavailable")
cover = None cover = None
return cover return cover