kittv
/
prezgen
Archived
1
0
Fork 0

output names now replace whitespace with `-`

master
Dawid J. Kubis 3 years ago
parent 01b948cfd5
commit 305e7ea0c5

@ -104,6 +104,9 @@ fn main() {
let mut time_start = String::from(time_start);
time_start = time_start.replace(":", "");
// code
let code = String::from(code).replace(" ", "-");
let target = format!("PREZ_{}_{}_{}.html", code, &day[0..2], time_start);
println!("writing {}", target);