This commit is contained in:
Kovid Goyal 2014-11-04 09:10:48 +05:30
parent 5d68654015
commit 0cf985b850

View File

@ -130,7 +130,7 @@ class Guardian(BasicNewsRecipe):
for s in idx.findAll('strong', attrs={'class':'book'}): for s in idx.findAll('strong', attrs={'class':'book'}):
a = s.find('a', href=True) a = s.find('a', href=True)
section_title = self.tag_to_string(a) section_title = self.tag_to_string(a)
if not section_title in self.ignore_sections: if section_title not in self.ignore_sections:
prefix = '' prefix = ''
if section_title != 'Main section': if section_title != 'Main section':
prefix = section_title + ': ' prefix = section_title + ': '