mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-01-24 05:53:43 +08:00
fix title None error
This commit is contained in:
parent
c28c0d0e71
commit
fb8d4e9369
@ -40,7 +40,7 @@ def validate_links(links):
|
||||
raise SystemExit(1)
|
||||
|
||||
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)
|
||||
|
||||
return list(links)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user