fix title None error
This commit is contained in:
parent
c28c0d0e71
commit
fb8d4e9369
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ def validate_links(links):
|
||||||
raise SystemExit(1)
|
raise SystemExit(1)
|
||||||
|
|
||||||
for link in links:
|
for link in links:
|
||||||
link['title'] = unescape(link['title'].strip()) if link['title'].strip() else None
|
link['title'] = unescape(link['title'].strip()) if link['title'] else None
|
||||||
check_link_structure(link)
|
check_link_structure(link)
|
||||||
|
|
||||||
return list(links)
|
return list(links)
|
||||||
|
|
Loading…
Reference in a new issue