mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 06:23:09 +02:00
...
This commit is contained in:
parent
46fa724b0a
commit
419b7e42b3
1 changed files with 1 additions and 3 deletions
|
|
@ -91,9 +91,7 @@ def parse_index(self):
|
|||
url = url.partition('#')[0]
|
||||
desc = ''
|
||||
d = x.findNextSibling(True)
|
||||
if d is None:
|
||||
continue
|
||||
if d.get('class', None) == 'arialResize':
|
||||
if d is not None and d.get('class', None) == 'arialResize':
|
||||
desc = self.tag_to_string(d)
|
||||
desc = desc.partition(u'\u2022')[0]
|
||||
self.log('\t\tFound article:', title)
|
||||
|
|
|
|||
Loading…
Reference in a new issue