Only print searching when cache miss searching

This commit is contained in:
Philip
2021-09-28 21:50:25 +02:00
parent 60222936c2
commit 1924afd197
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -30,8 +30,7 @@ pub async fn download_images<'a, 'b>(
return Ok(());
}
let mut search_results = HashMap::new();
for s in shortcuts_to_search_for {
println!("Searching for {}", s.app_name);
for s in shortcuts_to_search_for {
let search = search.search(s.app_id, s.app_name).await?;
if let Some(search) = search {
search_results.insert(s.app_id, search);