Compare commits

..

No commits in common. "4b7241f5a4a3045a10ff73a02b9f228327872abb" and "121590f74fdd061069f5aae54029b9cc2aaf7fa0" have entirely different histories.

View file

@ -1,4 +1,4 @@
use chrono::{DateTime, Datelike, Utc}; use chrono::{DateTime, Utc, Datelike};
use chrono_tz::US::Central; use chrono_tz::US::Central;
use clap::Parser; use clap::Parser;
use log::{debug, error}; use log::{debug, error};
@ -135,6 +135,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
} }
}; };
let elapsed_time: chrono::Duration = now - start_time; let elapsed_time: chrono::Duration = now - start_time;
body_content.push(format!( body_content.push(format!(
@ -145,8 +146,10 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
now.day(), now.day(),
now.year() now.year()
)); ));
} else if !line.is_empty() { } else {
if line != "" {
body_content.push(line.to_string()); body_content.push(line.to_string());
}
} }
checked.retain(|val| val != &item); checked.retain(|val| val != &item);
} }