|
发表于 2018-7-1 15:19:32
|
显示全部楼层
Traceback (most recent call last):
File "hello_miai.py", line 291, in <module>
cc=xiaomi_tts(miid,password)
File "hello_miai.py", line 50, in __init__
self._LoginByPassord()
File "hello_miai.py", line 77, in _LoginByPassord
if not self._login_miai():
File "hello_miai.py", line 186, in _login_miai
serviceToken = "nonce={}&{}".format(self._serviceLoginAuth2_json['nonce'],self._serviceLoginAuth2_json['ssecurity'])
KeyError: 'nonce'
大神,你好,这个错误怎么解决哈,谢谢 |
|