Skip to content

Commit

Permalink
[matter_yamltests] Properly convert wait values from str to int if ne…
Browse files Browse the repository at this point in the history
…cessary in the WaitFor command (#26541)
  • Loading branch information
vivien-apple authored and pull[bot] committed Sep 18, 2023
1 parent 3aaee41 commit 2281312
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ async def WaitForMs(self, request):
duration_in_ms = argument['value']

sys.stdout.flush()
time.sleep(duration_in_ms / 1000)
time.sleep(int(duration_in_ms) / 1000)

async def WaitForMessage(self, request):
AccessoryServerBridge.waitForMessage(request)

0 comments on commit 2281312

Please sign in to comment.