summaryrefslogtreecommitdiff
path: root/src/files.rs
diff options
context:
space:
mode:
authorfxqnlr <[email protected]>2023-01-26 17:23:06 +0100
committerfxqnlr <[email protected]>2023-01-26 17:23:06 +0100
commit57ab6addda10a49c18dc09208dfb319c0205e869 (patch)
treeeec6fd465a113d15c819c64a94bc04d425f0e842 /src/files.rs
parent1890d59428dfcca861ea1b7820411d80cc60d713 (diff)
downloadmodlist-57ab6addda10a49c18dc09208dfb319c0205e869.tar
modlist-57ab6addda10a49c18dc09208dfb319c0205e869.tar.gz
modlist-57ab6addda10a49c18dc09208dfb319c0205e869.zip
Todos; fixed input with "-"
Diffstat (limited to 'src/files.rs')
-rw-r--r--src/files.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/files.rs b/src/files.rs
index 0d7dc0a..ecb6e3e 100644
--- a/src/files.rs
+++ b/src/files.rs
@@ -11,7 +11,6 @@ pub async fn download_versions(list: List, config: Cfg, versions: Vec<Version>)
11 println!("Download to directory from: {} ({})", list.id, dl_path); 11 println!("Download to directory from: {} ({})", list.id, dl_path);
12 12
13 for ver in versions { 13 for ver in versions {
14 //TODO get project name instead of projectid from db
15 let project_name = mods_get_name(config.clone(), &ver.project_id)?; 14 let project_name = mods_get_name(config.clone(), &ver.project_id)?;
16 print!("\t({})Download version {}", project_name, ver.id); 15 print!("\t({})Download version {}", project_name, ver.id);
17 std::io::stdout().flush().unwrap(); 16 std::io::stdout().flush().unwrap();