add println logging
This commit is contained in:
parent
22675de4a9
commit
c4572b7727
@ -51,9 +51,13 @@ fn random() -> Template {
|
||||
Err(_) => panic!(""),
|
||||
};
|
||||
|
||||
println!("getting tune information...");
|
||||
|
||||
let file_name = chosen_one.file_name().unwrap().to_str().unwrap();
|
||||
let file_title = chosen_one.file_stem().unwrap().to_str().unwrap();
|
||||
|
||||
println!("building context...");
|
||||
|
||||
let context = RandomContext {
|
||||
title: String::from(format!("♪ {}", file_title)),
|
||||
music_file: String::from(file_name),
|
||||
|
Loading…
Reference in New Issue
Block a user