Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 4, 2024
1 parent 8398c97 commit 6942d6c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions hyundai_kia_connect_api/ApiImplType1.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ def _update_vehicle_properties_ccs2(self, vehicle: Vehicle, state: dict) -> None
get_child_value(state, "Date"), dt.timezone.utc
)
elif vehicle.last_updated_at < parse_datetime(
get_child_value(state, "Date"), dt.timezone.utc
):
vehicle.last_updated_at = parse_datetime(
get_child_value(state, "Date"), dt.timezone.utc
):
vehicle.last_updated_at = parse_datetime(
get_child_value(state, "Date"), dt.timezone.utc
)

else:
vehicle.last_updated_at = dt.datetime.now(self.data_timezone)

Expand Down

0 comments on commit 6942d6c

Please sign in to comment.