Compare commits
No commits in common. "4b7241f5a4a3045a10ff73a02b9f228327872abb" and "121590f74fdd061069f5aae54029b9cc2aaf7fa0" have entirely different histories.
4b7241f5a4
...
121590f74f
1 changed files with 5 additions and 2 deletions
|
@ -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,9 +146,11 @@ 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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue