diff options
author | fxqnlr <[email protected]> | 2023-04-24 19:00:04 +0200 |
---|---|---|
committer | fxqnlr <[email protected]> | 2023-04-24 19:00:04 +0200 |
commit | 96d400ca1275bf8444e5ad4dc6c8a06b01c3ea9d (patch) | |
tree | 740e6f16b78cfe9c8a1019580bef0de1a3491300 /src/files.rs | |
parent | 99c84b5a81f395f4f094b157019e84bfc4459df6 (diff) | |
download | modlist-96d400ca1275bf8444e5ad4dc6c8a06b01c3ea9d.tar modlist-96d400ca1275bf8444e5ad4dc6c8a06b01c3ea9d.tar.gz modlist-96d400ca1275bf8444e5ad4dc6c8a06b01c3ea9d.zip |
add auto create dirs, database and default config
Diffstat (limited to 'src/files.rs')
-rw-r--r-- | src/files.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/files.rs b/src/files.rs index 0b5bc3f..a73fc18 100644 --- a/src/files.rs +++ b/src/files.rs | |||
@@ -32,7 +32,7 @@ pub async fn download_versions(list: List, config: Cfg, versions: Vec<Version>) | |||
32 | if c.is_some() { | 32 | if c.is_some() { |
33 | print!("\tâ({})Get version {} from cache", project_info.title, ver.id); | 33 | print!("\tâ({})Get version {} from cache", project_info.title, ver.id); |
34 | //Force flush of stdout, else print! doesn't print instantly | 34 | //Force flush of stdout, else print! doesn't print instantly |
35 | std::io::stdout().flush().unwrap(); | 35 | std::io::stdout().flush()?; |
36 | copy_cached_version(&c.unwrap(), &dl_path); | 36 | copy_cached_version(&c.unwrap(), &dl_path); |
37 | println!(" â"); | 37 | println!(" â"); |
38 | } else { | 38 | } else { |