aioamazondevices 3.1.3__py3-none-any.whl → 3.1.4__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  """aioamazondevices library."""
2
2
 
3
- __version__ = "3.1.3"
3
+ __version__ = "3.1.4"
4
4
 
5
5
 
6
6
  from .api import AmazonDevice, AmazonEchoApi
aioamazondevices/api.py CHANGED
@@ -352,8 +352,8 @@ class AmazonEchoApi:
352
352
  HTTPStatus.UNAUTHORIZED,
353
353
  ]:
354
354
  raise CannotAuthenticate
355
- if not self._ignore_ap_sigin_error(resp):
356
- raise RequestFailed
355
+ if not await self._ignore_ap_sigin_error(resp):
356
+ raise RequestFailed("Request failed with HTTP error %s", resp.status)
357
357
 
358
358
  await self._save_to_file(
359
359
  await resp.text(),
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: aioamazondevices
3
- Version: 3.1.3
3
+ Version: 3.1.4
4
4
  Summary: Python library to control Amazon devices
5
5
  License: Apache-2.0
6
6
  Author: Simone Chemelli
@@ -0,0 +1,10 @@
1
+ aioamazondevices/__init__.py,sha256=d9diKF3mwdRX8wzAXDS0Tw39qMbt8461nxkYTrhuuwU,276
2
+ aioamazondevices/api.py,sha256=aTe9ZcBDQZxm0rUr_aMYq686y0lQwauPZzAB_zI939Y,35352
3
+ aioamazondevices/const.py,sha256=DzMYrcChuuz2uxaVbLVdwV3uZB1Db_-33YOPPFDYYVU,6181
4
+ aioamazondevices/exceptions.py,sha256=nPbR928NryTbnxm5QwQpCSpRItvZ3PRYKynUUxH-_v4,1345
5
+ aioamazondevices/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
+ aioamazondevices/sounds.py,sha256=01pVCDFIuhrLypXInw4JNuHsC6zjMLsuKocet1R6we8,13409
7
+ aioamazondevices-3.1.4.dist-info/LICENSE,sha256=sS48k5sp9bFV-NSHDfAJuTZZ_-AP9ZDqUzQ9sffGlsg,11346
8
+ aioamazondevices-3.1.4.dist-info/METADATA,sha256=bX2PnTmfN3nYmSrw4kqce7g7IkzqYHY6mERw_Gi33BM,5546
9
+ aioamazondevices-3.1.4.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
10
+ aioamazondevices-3.1.4.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- aioamazondevices/__init__.py,sha256=fnOgibMLX830W4WG9ugY6yfTaULiPRjKE_w9wLUTRAw,276
2
- aioamazondevices/api.py,sha256=ebUaF_--DbaxkxCuUF7AwgXhafRz0Cse6CFCWpUoE3s,35296
3
- aioamazondevices/const.py,sha256=DzMYrcChuuz2uxaVbLVdwV3uZB1Db_-33YOPPFDYYVU,6181
4
- aioamazondevices/exceptions.py,sha256=nPbR928NryTbnxm5QwQpCSpRItvZ3PRYKynUUxH-_v4,1345
5
- aioamazondevices/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
- aioamazondevices/sounds.py,sha256=01pVCDFIuhrLypXInw4JNuHsC6zjMLsuKocet1R6we8,13409
7
- aioamazondevices-3.1.3.dist-info/LICENSE,sha256=sS48k5sp9bFV-NSHDfAJuTZZ_-AP9ZDqUzQ9sffGlsg,11346
8
- aioamazondevices-3.1.3.dist-info/METADATA,sha256=ZfqBddF0PRryV8qsZkqjDJfrJ82mRaFY4iqqmR8Eknk,5546
9
- aioamazondevices-3.1.3.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
10
- aioamazondevices-3.1.3.dist-info/RECORD,,