mirror of
https://github.com/YGGverse/btracker.git
synced 2026-03-31 17:15:31 +00:00
skip directory create if already exists, return PathBuf, convert to string outside
This commit is contained in:
parent
9a64995bf5
commit
b4d379c650
2 changed files with 9 additions and 4 deletions
|
|
@ -128,7 +128,9 @@ async fn main() -> Result<()> {
|
|||
config.preload_max_filecount.unwrap_or_default(),
|
||||
)),
|
||||
// the folder to preload temporary files (e.g. images for the audio albums)
|
||||
output_folder: Some(preload.output_folder(&i)?),
|
||||
output_folder: Some(
|
||||
preload.output_folder(&i)?.to_string_lossy().to_string(),
|
||||
),
|
||||
..Default::default()
|
||||
}),
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue