Fix download of non search inputs & .cargo config

This commit is contained in:
oSumAtrIX 2021-11-27 09:11:15 +01:00
parent f62db8e68d
commit bf0b8b2bad
No known key found for this signature in database
GPG key ID: A9B3094ACDB604B4
2 changed files with 56 additions and 53 deletions

2
.cargo/config Normal file
View file

@ -0,0 +1,2 @@
[net]
git-fetch-with-cli = true

View file

@ -143,7 +143,10 @@ async fn start() {
e
)
);
} else {
return;
}
}
let refresh = Duration::from_secs(settings.refresh_ui_seconds);
let now = Instant::now();
let mut time_elapsed: u64;
@ -196,8 +199,6 @@ async fn start() {
}
println!("Finished download(s) in {} second(s).", time_elapsed);
}
}
}
Err(e) => {
error!("{} {}", "Handling input failed:".red(), e)
}