mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
Fix syntax
This commit is contained in:
parent
8fc9ebfa8c
commit
77cb66d9a3
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ fn setup(args: &[String]) -> Setup {
|
|||
|
||||
let use_audio_cache = !matches.opt_present("disable-audio-cache");
|
||||
|
||||
let cache_directory = matches.opt_str("c").unwrap_or(String::from(""))
|
||||
let cache_directory = matches.opt_str("c").unwrap_or(String::from(""));
|
||||
let system_cache_directory = matches.opt_str("system-cache").unwrap_or(String::from(cache_directory))
|
||||
let cache = Cache::new(
|
||||
PathBuf::from(cache_directory),
|
||||
|
|
Loading…
Reference in a new issue