Skip to content

Commit

Permalink
style: fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
alandtse committed Jan 31, 2021
1 parent 9fd7298 commit ed20a43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion teslajsonpy/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ async def __open(
f'{data.get("error")}:{data.get("error_description")}'
)
except aiohttp.ClientResponseError as exception_:
raise TeslaException(exception_.status)
raise TeslaException(exception_.status) from exception_
return data

async def websocket_connect(self, vin: int, vehicle_id: int, **kwargs):
Expand Down

0 comments on commit ed20a43

Please sign in to comment.