Skip to content
This repository has been archived by the owner on Dec 28, 2021. It is now read-only.

Fix AVS response to sync [issue #44] #45

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion alexa_client/alexa_client/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def synchronise_device_state(self, device_state, authentication_headers):
headers=headers,
)
response = self.connection.get_response(stream_id)
assert response.status == http.client.NO_CONTENT
assert response.status in ( http.client.NO_CONTENT, http.client.OK )

def send_audio_file(
self, audio_file, device_state, authentication_headers,
Expand Down