Fix broken terminal output
- Replaced println by report message call
This commit is contained in:
@@ -114,8 +114,8 @@ async fn download_job(urls: SyncQueue, reporter: UnboundedSender<DlReport>, cli_
|
||||
let mut urls = urls.lock().await;
|
||||
urls.pop_front().take()
|
||||
} {
|
||||
println!("Downloading {}", dlreq.url);
|
||||
let reporter = DlReporter::new(dlreq.id as u32, reporter.clone());
|
||||
report_msg!(reporter, "Downloading {}", dlreq.url);
|
||||
|
||||
// Resolve the zippy url to the direct download url if necessary
|
||||
let url = match is_integrated_url(&dlreq.url) {
|
||||
|
||||
Reference in New Issue
Block a user