diff options
author | fxqnlr <[email protected]> | 2023-05-26 17:45:08 +0200 |
---|---|---|
committer | fxqnlr <[email protected]> | 2023-05-26 17:45:08 +0200 |
commit | 7755c9acf6b8a1d81c03ef1138e80a162f36e743 (patch) | |
tree | e3d6bf87ba5fb4cde0ddb39dcf2b450cc1ff683c /src/db.rs | |
parent | 2d7e0a2fbf1c8a4187e2bf3fdcd592631ab273a0 (diff) | |
download | modlist-7755c9acf6b8a1d81c03ef1138e80a162f36e743.tar modlist-7755c9acf6b8a1d81c03ef1138e80a162f36e743.tar.gz modlist-7755c9acf6b8a1d81c03ef1138e80a162f36e743.zip |
removed all println!
Diffstat (limited to 'src/db.rs')
-rw-r--r-- | src/db.rs | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -165,11 +165,6 @@ pub fn mods_get_versions(config: &Cfg, mods: Vec<String>) -> MLE<Vec<DBModlistVe | |||
165 | 165 | ||
166 | for ver in id_iter { | 166 | for ver in id_iter { |
167 | let version = ver?; | 167 | let version = ver?; |
168 | // println!( | ||
169 | // "\t({}) Get versions from the database", | ||
170 | // String::from(&version[2]) | ||
171 | // ); | ||
172 | //println!("Found versions {} for mod {}", version[1], version[0]); | ||
173 | versionmaps.push(DBModlistVersions { | 168 | versionmaps.push(DBModlistVersions { |
174 | mod_id: String::from(&version[0]), | 169 | mod_id: String::from(&version[0]), |
175 | versions: String::from(&version[1]), | 170 | versions: String::from(&version[1]), |
@@ -473,7 +468,6 @@ pub fn userlist_get_all_downloads( | |||
473 | 468 | ||
474 | for link in link_iter { | 469 | for link in link_iter { |
475 | let l = link?; | 470 | let l = link?; |
476 | // println!("Found link {}", String::from(&l)); | ||
477 | links.push(l) | 471 | links.push(l) |
478 | } | 472 | } |
479 | 473 | ||
@@ -496,8 +490,6 @@ pub fn lists_insert( | |||
496 | mod_loader: &Modloader, | 490 | mod_loader: &Modloader, |
497 | download_folder: &str, | 491 | download_folder: &str, |
498 | ) -> MLE<()> { | 492 | ) -> MLE<()> { |
499 | // println!("Creating list {}", id); | ||
500 | |||
501 | let data = format!("{}/data.db", config.data); | 493 | let data = format!("{}/data.db", config.data); |
502 | let connection = Connection::open(data)?; | 494 | let connection = Connection::open(data)?; |
503 | 495 | ||