Fix antifeature tag push

This commit is contained in:
Olivier 'reivilibre' 2022-03-28 19:31:47 +01:00
parent 4231bec80a
commit 2f68d4d825
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ pub fn handle_page_pack(
let article_body = DenseTree::generate_textual_format(&document.body_content, false); let article_body = DenseTree::generate_textual_format(&document.body_content, false);
let nonarticle_body = DenseTree::generate_textual_format(&document.body_remainder, false); let nonarticle_body = DenseTree::generate_textual_format(&document.body_remainder, false);
let tags = seed_lookup let mut tags = seed_lookup
.look_up(&Url::parse(page_record.url.as_ref())?)? .look_up(&Url::parse(page_record.url.as_ref())?)?
.map(|seed: &Seed| seed.tags.iter().map(|cs| cs.to_string()).collect()) .map(|seed: &Seed| seed.tags.iter().map(|cs| cs.to_string()).collect())
.unwrap_or_else(|| Vec::with_capacity(0)); .unwrap_or_else(|| Vec::with_capacity(0));