Fix download of non search inputs & .cargo config
This commit is contained in:
parent
f62db8e68d
commit
bf0b8b2bad
2 changed files with 56 additions and 53 deletions
2
.cargo/config
Normal file
2
.cargo/config
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
[net]
|
||||||
|
git-fetch-with-cli = true
|
||||||
|
|
@ -143,7 +143,10 @@ async fn start() {
|
||||||
e
|
e
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
} else {
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
let refresh = Duration::from_secs(settings.refresh_ui_seconds);
|
let refresh = Duration::from_secs(settings.refresh_ui_seconds);
|
||||||
let now = Instant::now();
|
let now = Instant::now();
|
||||||
let mut time_elapsed: u64;
|
let mut time_elapsed: u64;
|
||||||
|
|
@ -196,8 +199,6 @@ async fn start() {
|
||||||
}
|
}
|
||||||
println!("Finished download(s) in {} second(s).", time_elapsed);
|
println!("Finished download(s) in {} second(s).", time_elapsed);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
error!("{} {}", "Handling input failed:".red(), e)
|
error!("{} {}", "Handling input failed:".red(), e)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue