Skip to content

Commit

Permalink
quick bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
stickpin committed Dec 19, 2023
1 parent e69943b commit 766a814
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion volkswagencarnet/vw_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,7 @@ async def get_request_status(self, vin, sectionId, requestId, actionId = ""):
status = "Failed"
elif result == "unfetched":
status = "No response"
elif result == "request_successful" or result == "succeeded":
elif result == "request_successful" or result == "successful":
status = "Success"
elif result == "fail_ignition_on":
status = "Failed because ignition is on"
Expand Down
2 changes: 1 addition & 1 deletion volkswagencarnet/vw_vehicle.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ async def wait_for_request(self, section, request, retry_count=36, action=""):
self._requests["state"] = status
if status == "In Progress":
await asyncio.sleep(5)
return await self.wait_for_request(section, request, retry_count)
return await self.wait_for_request(section, request, retry_count, action)
else:
return status
except Exception as error:
Expand Down

0 comments on commit 766a814

Please sign in to comment.