Skip to content

Commit

Permalink
Merge commit '44c5c7656d0ef8a2e9eaa656d2c8d9f6232f54f7'
Browse files Browse the repository at this point in the history
  • Loading branch information
h1romas4 committed Jun 26, 2023
2 parents 2e70a70 + 44c5c76 commit 5bef010
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,7 @@ impl State {
}

fn write_now(&self) {
let now = self.now();
if let Some(now) = now {
if let Some(now) = self.now() {
let datetime = format!(
"{year}{month:02}{day:02}_{hour:02}{minute:02}",
year = now.year(),
Expand Down

0 comments on commit 5bef010

Please sign in to comment.