Skip to content

Commit

Permalink
Merge pull request #135 from ardevd/remove-pointless-statement
Browse files Browse the repository at this point in the history
refactor: removed pointless statement
  • Loading branch information
ardevd authored Feb 16, 2025
2 parents a96adc7 + cac1f37 commit 3345da3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions custom_components/dimo/dimoapi/dimo_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def get_latest_signals(self, token_id, signal_names: list[str]):
"""Get the latest signal values for the specified vehicle"""
if signal_names is None:
signal_names = []

priv_token = self._fetch_privileged_token(token_id)
signals_query = "\n".join(
[
Expand Down Expand Up @@ -153,7 +153,6 @@ def get_vin(self, token_id) -> Optional[str]:
return None
except Exception as e:
_LOGGER.error(f"Failed to retrieve VIN for token_id {token_id}: {e}")
VehicleSharingPermission
return None


Expand Down

0 comments on commit 3345da3

Please sign in to comment.