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 chrono_tz::US::Central;
|
||||||
use clap::Parser;
|
use clap::Parser;
|
||||||
use log::{debug, error};
|
use log::{debug, error};
|
||||||
|
@ -135,7 +135,6 @@ 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!(
|
||||||
|
@ -146,10 +145,8 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||||
now.day(),
|
now.day(),
|
||||||
now.year()
|
now.year()
|
||||||
));
|
));
|
||||||
} else {
|
} else if !line.is_empty() {
|
||||||
if line != "" {
|
|
||||||
body_content.push(line.to_string());
|
body_content.push(line.to_string());
|
||||||
}
|
|
||||||
}
|
}
|
||||||
checked.retain(|val| val != &item);
|
checked.retain(|val| val != &item);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue