removed debugging statement
This commit is contained in:
parent
f87356c859
commit
914d417a8d
|
|
@ -20,9 +20,12 @@ fn handle_signal(data: &Data, pf: &PlayerFinder) {
|
|||
}
|
||||
}
|
||||
|
||||
//todo: load different config giles depending on CLI argument
|
||||
//so i can specify 3 files to use with my polybar config
|
||||
|
||||
fn main() {
|
||||
dotenvy::dotenv().expect("Failed to read .env file");
|
||||
std::env::set_var("RUST_LOG", "debug");
|
||||
//dotenvy::dotenv().expect("Failed to read .env file");
|
||||
std::env::set_var("RUST_LOG", "error");
|
||||
if let Err(e) = env_logger::init() {
|
||||
panic!("{}", e);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@ fn cutoff(fields: &Vec<Field>, brk: char, strings: &mut HashMap<String, String>)
|
|||
let mut b = a.unwrap().clone();
|
||||
b.truncate(field.num_chars as usize);
|
||||
b.push(brk);
|
||||
println!("{}", b);
|
||||
strings.insert(field.field.clone(), b);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue