Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
tillsteinbach committed Jul 8, 2023
1 parent f627786 commit 8a2951c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions weconnect/elements/vehicle.py
Original file line number Diff line number Diff line change
Expand Up @@ -390,9 +390,9 @@ def updateStatus(self, updateCapabilities: bool = True, force: bool = False, #
data = self.weConnect.fetchData(url, force, allowEmpty=True, allowHttpError=True, allowedErrors=[codes['not_found']])
if data is not None and 'data' in data:
self.trips[tripType.value] = Trip(vehicle=self,
parent=self.trips,
tripType=tripType.value,
fromDict=data['data'])
parent=self.trips,
tripType=tripType.value,
fromDict=data['data'])
else:
if tripType.value in self.trips:
self.self.trips.enabled = False
Expand Down

0 comments on commit 8a2951c

Please sign in to comment.