Compare commits
2 commits
121590f74f
...
4b7241f5a4
Author | SHA1 | Date | |
---|---|---|---|
4b7241f5a4 | |||
f1cd6948e2 |
1 changed files with 2 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
|||
use chrono::{DateTime, Utc, Datelike};
|
||||
use chrono::{DateTime, Datelike, Utc};
|
||||
use chrono_tz::US::Central;
|
||||
use clap::Parser;
|
||||
use log::{debug, error};
|
||||
|
@ -135,7 +135,6 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|||
}
|
||||
};
|
||||
|
||||
|
||||
let elapsed_time: chrono::Duration = now - start_time;
|
||||
|
||||
body_content.push(format!(
|
||||
|
@ -146,10 +145,8 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|||
now.day(),
|
||||
now.year()
|
||||
));
|
||||
} else {
|
||||
if line != "" {
|
||||
} else if !line.is_empty() {
|
||||
body_content.push(line.to_string());
|
||||
}
|
||||
}
|
||||
checked.retain(|val| val != &item);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue