mirror of
https://github.com/Garmelon/PFERD.git
synced 2026-04-12 07:25:04 +02:00
Added another None test to be sure
This commit is contained in:
parent
ac35dd9a47
commit
be6214722b
1 changed files with 2 additions and 1 deletions
|
|
@ -93,7 +93,8 @@ class KitIpdCrawler(HttpCrawler):
|
|||
if (enclosing_table) is None:
|
||||
continue
|
||||
label: Tag = enclosing_table.findPreviousSibling(name=re.compile('^h[1-6]$'))
|
||||
folder_tags.add(label)
|
||||
if label is not None:
|
||||
folder_tags.add(label)
|
||||
|
||||
print(folder_tags)
|
||||
return folder_tags
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue