gotta find differnet update interval

This commit is contained in:
Bel LaPointe
2023-03-23 17:33:51 -06:00
parent 68a496e920
commit 1f110c82e6
2 changed files with 11 additions and 4 deletions

View File

@@ -226,7 +226,7 @@ impl OutputStream for OutputStreamFormatted {
}
fn sprintf(x: &String, v: Vec<char>) -> Vec<char> {
let mut reg = Handlebars::new();
let reg = Handlebars::new();
return reg.render_template(x, &json!({
"VALUE": v.iter().collect::<String>(),
"ms_since_epoch": SystemTime::now().duration_since(UNIX_EPOCH).unwrap().as_millis(),