mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 10:43:52 +02:00
pep8
This commit is contained in:
parent
313b7f3454
commit
57398ee050
1 changed files with 1 additions and 2 deletions
|
|
@ -102,8 +102,7 @@ def postprocess_html(self, soup, first_fetch):
|
|||
for r in soup.findAll(attrs={'class': 'pgr'}):
|
||||
r.extract()
|
||||
for r in soup.findAll(attrs={'class': 'cm-i-a'}):
|
||||
r.replaceWith('<div style="clear:both"></div>' +
|
||||
r.prettify() + '<div style="clear:both"></div>')
|
||||
r.replaceWith('<div style="clear:both"></div>' + r.prettify() + '<div style="clear:both"></div>')
|
||||
return soup
|
||||
|
||||
keep_only_tags = [
|
||||
|
|
|
|||
Loading…
Reference in a new issue