Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Lash-L committed Sep 9, 2023
1 parent a27c4d2 commit 97f1922
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion roborock/containers.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,9 @@ class CleanRecord(RoborockBase):

def __post_init__(self) -> None:
self.square_meter_area = round(self.area / 1000000, 1) if self.area is not None else None
self.begin_datetime = datetime.datetime.fromtimestamp(self.begin).astimezone(datetime.UTC) if self.begin else None
self.begin_datetime = (
datetime.datetime.fromtimestamp(self.begin).astimezone(datetime.UTC) if self.begin else None
)
self.end_datetime = datetime.datetime.fromtimestamp(self.end).astimezone(datetime.UTC) if self.end else None


Expand Down

0 comments on commit 97f1922

Please sign in to comment.