From 85d11ffa5f4157f0776f79f6991660d676ebafb0 Mon Sep 17 00:00:00 2001 From: Dirk Janssen Date: Thu, 2 Jan 2020 15:38:41 -0800 Subject: [PATCH] Fix AVS response to sync --- alexa_client/alexa_client/connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alexa_client/alexa_client/connection.py b/alexa_client/alexa_client/connection.py index 61cd291..c6dfd5e 100644 --- a/alexa_client/alexa_client/connection.py +++ b/alexa_client/alexa_client/connection.py @@ -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,